Error "Cannot read properties of null (reading 'useMemo')" #3691
Unanswered
sankaSanjeeva
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to create a library that export a React component. To create that component I used shadcn ui components like Button, Select, Sheet. When I use my library in another project it throws errors like "
Cannot read properties of null (reading 'useMemo')
" if I use 'Select' or 'Sheet' component. If i use only "button" component it works fine.eg:- this works fine
But it throws errors if use Select or Sheet
Appreciate it if someone could tell me whether i am doing something wrong
Beta Was this translation helpful? Give feedback.
All reactions