-
-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d634989
commit 266ebe0
Showing
161 changed files
with
12,489 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
VERSION_LATEST="v11.0.0" | ||
VERSION_NEXT="v12.0.0" |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"Overview": [ | ||
"introduction", | ||
"installation", | ||
"migrate-to-v11", | ||
"editor-plugins", | ||
"try" | ||
], | ||
"Language Features": [ | ||
"overview", | ||
"let-binding", | ||
"type", | ||
"primitive-types", | ||
"tuple", | ||
"record", | ||
"object", | ||
"variant", | ||
"polymorphic-variant", | ||
"null-undefined-option", | ||
"array-and-list", | ||
"function", | ||
"control-flow", | ||
"pipe", | ||
"pattern-matching-destructuring", | ||
"mutation", | ||
"jsx", | ||
"exception", | ||
"lazy-values", | ||
"promise", | ||
"async-await", | ||
"tagged-templates", | ||
"module", | ||
"import-export", | ||
"attribute", | ||
"reserved-keywords", | ||
"equality-comparison" | ||
], | ||
"Advanced Features": [ | ||
"extensible-variant", | ||
"scoped-polymorphic-types" | ||
], | ||
"JavaScript Interop": [ | ||
"interop-cheatsheet", | ||
"embed-raw-javascript", | ||
"shared-data-types", | ||
"external", | ||
"bind-to-js-object", | ||
"bind-to-js-function", | ||
"import-from-export-to-js", | ||
"bind-to-global-js-values", | ||
"json", | ||
"inlining-constants", | ||
"use-illegal-identifier-names", | ||
"generate-converters-accessors", | ||
"browser-support-polyfills", | ||
"libraries", | ||
"typescript-integration" | ||
], | ||
"Build System": [ | ||
"build-overview", | ||
"build-configuration", | ||
"build-configuration-schema", | ||
"build-external-stdlib", | ||
"build-pinned-dependencies", | ||
"interop-with-js-build-systems", | ||
"build-performance", | ||
"warning-numbers" | ||
], | ||
"Guides": [ | ||
"converting-from-js" | ||
], | ||
"Extra": [ | ||
"newcomer-examples", | ||
"project-structure", | ||
"faq" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
pages/docs/manual/latest/api/[...slug].js → pages/docs/manual/v11.0.0/api/[...slug].js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Overview | ||
|
||
## ReScript Core | ||
|
||
[Core](api/core) is ReScript's new standard library. It replaces the complete `Js` module as well as some of the more frequently used modules from `Belt` and is recommended to use with uncurried mode. | ||
|
||
In ReScript 11, it is shipped as a separate npm package `@rescript/core` that is added to your project as per the [installation instructions](/docs/manual/next/installation). In future ReScript versions, it will be included with the `rescript` npm package itself. | ||
|
||
## Additional Libraries | ||
|
||
ReScript ships with these two additional modules in its standard library: | ||
|
||
- [Belt](api/belt): immutable collections and extra helpers not available in JavaScript / [Core](api/core). | ||
- [Dom](api/dom): Dom related types and modules. Contains our standardized types used by various userland DOM bindings. | ||
|
||
## Legacy Modules | ||
|
||
The [Js](api/js) module is superseded by [Core](api/core). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { | ||
getStaticPathsByVersion, | ||
getStaticPropsByVersion, | ||
} from "src/ApiDocs.mjs"; | ||
|
||
import APIDocs from "src/ApiDocs.mjs"; | ||
|
||
export async function getStaticProps(ctx) { | ||
return await getStaticPropsByVersion({ ...ctx, version: "latest" }); | ||
} | ||
|
||
export async function getStaticPaths(ctx) { | ||
return await getStaticPathsByVersion("latest"); | ||
} | ||
|
||
export default function Comp(props) { | ||
return <APIDocs {...props} />; | ||
} |
Oops, something went wrong.