docs: public compileJsx facade — compile-on-save flow#91
Merged
Conversation
Follows commit 89d225a which exposed compileJsx as a typed 2-arg export. Rewrites the Dynamic Templates 'Compile JSX on save' section to import the public compileJsx (was 'NAPI binding'), shows the real return shape + throw-on- invalid + compileJsx→templates.register flow; notes the public facade in architecture.md's compiler section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Follows
89d225a(0.1.54-alpha), which exposedcompileJsxas a public typed 2-arg export frombrustjs.compileJsx(not "the NAPI binding"), shows the real return shape{ template, islandsJson, componentsJson, warnings }, the throw-on-invalid contract, and the fullcompileJsx → templates.registercompile-on-save flow. Fixed the dangling/docs/native-routeslink →/docs/rendering.compileJsx(source, path)facade (runtime/compile-jsx.ts) exported from the entry for tooling/compile-on-save, pairing withtemplates.register.Docs-only (no package change). docs-site test 7/0, biome green.
🤖 Generated with Claude Code