-
-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: improve babel page #2832
docs: improve babel page #2832
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
@@ -19,7 +19,9 @@ With a `babel` configuration file: | |||
} | |||
``` | |||
|
|||
You can also supply your atom names to the plugin: | |||
The plugin recognizes a predefined list of atom function names (e.g. 'atom', 'atomFamily', 'atomWithDefault'). If you’re using custom atom function names, you can explicitly supply them to ensure they are recognized. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a standard way you refer to these identifiers?
c3ae944
to
bc01d94
Compare
bc01d94
to
1979352
Compare
|
Playground | Link |
---|---|
React demo | https://livecodes.io?x=id/BYHFVQAVW |
See documentations for usage instructions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks! 🙂
Summary
Just a few changes in the docs page for babel plugins.
Check List
pnpm run prettier
for formatting code and docs