-
Notifications
You must be signed in to change notification settings - Fork 8
TypeError: Cannot read properties of null (reading 'useState') #12
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
Comments
Welcome! Thanks for opening your first issue. |
Hello @sudhar2124 , this repository serves as an example of how to create a component library using React. The components included are intended for demonstration purposes only. Although I will check the error and let you know, feel free to ask if you have any doubts. 🙂 |
@sudhar2124 , I couldn't find any errors, Here is a minimal example of how to use the Multi Select Dropdown.
|
I'm facing the same issue for the multi-select. |
Hi @ananduremanan, I have troubleshooted the issue, i am thinking the issue may be in two places
Do you have faced any issue during link the package. Could you upload the example application code which you have linked these package? |
Mmm…. It’s actually weird that I couldn’t reproduce the issue… could you comment your node version and package.json? Linking the project is pretty simple. Run |
I linked it in a fresh react js application(bootstrapped with vite not create react app) |
Hii @ananduremanan and my node version is v18.17.1 |
when the "MultiSelectComponent" component calls
it throws error
Uncaught TypeError: Cannot read properties of null (reading 'useState')
The text was updated successfully, but these errors were encountered: