Repository navigation
docs: resolve the remaining v13 documentation items from #1476 - #1493
Draft
fhammerschmidt wants to merge 2 commits into
Draft
fhammerschmidt wants to merge 2 commits into
fhammerschmidt wants to merge 2 commits into
Conversation
- Build Performance: `rescript build` runs the OCaml build system; remove the rescript-legacy, bstracing and Ninja sections. - Code Analysis: drop the removed `reanalyze -reactive` flag and describe the incremental pipeline and stable finding order. - Beyond JSX: `React.component` is an abstract type, not a plain function; show `React.component(...)`. - Object: assignment requires `@set`; type nullable properties directly; distinguish field `@set` from `@get`/`@set` externals. - Fix outdated getter/setter anchors in the interop cheatsheet. - Link the migration guide from the installation page, and replace the `%debugger` notes with links to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the open documentation items from #1476, each checked against 13.0.0-alpha.7 with generated JS output: - Primitive types: Unicode escapes, including UTF-16 surrogate pairs, and how escaped strings match in patterns (rescript#8606); what Int/Float.fromString accept (rescript#8129). - Functions: arity is part of a function's type, with the error case and the fix (rescript#8559). - Records: mutating a private record's mutable field gives warning 111 (rescript#8366), unlike object fields, which need @set. - Externals: inline record types for configuration objects (rescript#8304). - Dynamic import of external bindings, including @scope paths and kept FFI conversions (rescript#8582). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 24, 2026
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
guide | ed2bd41 | Commit Preview URL Branch Preview URL |
Nov 24 2026, 10:02 AM |
Contributor
Contributor
Lighthouse baselineNo Lighthouse baseline is available for target branch
Download the full Lighthouse reports and baseline Commit |
This branch was successfully deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves the open items of #1476 that can be done in the docs. Migration details go in the v13 migration guide (#1492); manual pages describe current behavior and link to the guide where needed, instead of carrying migration notes.
Every new example was compiled with 13.0.0-alpha.7, and its JS output was generated by
yarn test --update.Pages that described v12 behavior
rescript buildruns the OCaml build system. Removes therescript-legacy,bstracingand Ninja sections.reanalyze -reactiveflag; describes the incremental pipeline and stable finding order.React.componentis an abstract type, not a plain function; showsReact.component(...).@set. Nullable properties are typed directly. Field@setis distinct from@get/@setexternals.debugger()lookupNew sections
Int/Float.fromString@set@scopepaths and kept conversionsReviewed, no change needed
JSX.Element.unitaliases in FFI (#8581): no example returns aunitalias.@res.hoistedFunction(#8402): obsolete; removed again in alpha.7 (#8904). The migration guide covers the effect.Testing
yarn test: 183 pages, with 0 stale outputs, 0 compilation errors, and 0 link or redirect issues.oxfmt --checkpasses, andgit diff --checkis clean.Refs #1476.
🤖 Generated with Claude Code