-
Notifications
You must be signed in to change notification settings - Fork 194
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
Mixture between CommonJS and Modules in documentation #290
Comments
ESM is actually preferred for all. The documentation is quite old at this point, PRs to adjust are very welcome. (Especially the examples are still from the days before Node had |
This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Module Example -> https://polkadot.js.org/docs/api/start/create
Common Js Example -> https://polkadot.js.org/docs/api/examples/promise/listen-to-blocks
In the overview, it seems like 'CommonJs' is the chosen format. Perhaps a task is to redo some of the examples?
The text was updated successfully, but these errors were encountered: