Skip to content

Conversation

krzysztofairlabs
Copy link

When using JSX in React, the import of the said library is required. When one follows the installation documentation step by step -- this error is always inevitable.

@pascalbaljet
Copy link
Member

But React (the import) is not used in the script, right? It's also not imported in the starter kit:
https://github.com/laravel/react-starter-kit/blob/f1c4c46e411b59755c7ec377a34dc41567b2aa1c/resources/js/app.tsx

@pascalbaljet pascalbaljet added documentation Something's missing or wrong in the documentation needs more info/work Needs more info from the author or additional work to get merged labels Jul 2, 2025
@pascalbaljet
Copy link
Member

I'm closing this pull request due to lack of activity. If you're still working on this or have updates to share, feel free to open a new PR. We'd be happy to take another look. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Something's missing or wrong in the documentation needs more info/work Needs more info from the author or additional work to get merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants