-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Lack of Javascript examples #6605
Comments
|
|
Hey @mryellow , we've found that the vast majority of our users are using TypeScript, so the documentation is written with that in mind. While you can still use Payload with vanilla JS, maintaining documentation and examples of this is something we've decided not to do at this point in time. |
The only reason for that is that you've failed to document how Javascript users can get the system working. It's a Survivorship Bias you are seeing as a result of your Selection Bias. I'm not using TypeScript and made the effort to demonstrate how it can be done. I didn't require any of the extra build tools in order to get the project working. No JSX was required. No TypeScript was required. |
This issue has been automatically locked. |
Documentation Issue
Documentation examples are all TypeScript. These require extra dependencies and build tools along with non-standard syntax.
Additional Details
An example should be provided which uses pure ordinary standard Javascript.
No
tsc
should be required.The text was updated successfully, but these errors were encountered: