Anyone facing issue while installing shadcn?

I get an error that says "couldn't find the framework" when I try to initialize shadcn and create components.json file?
13 Replies
Arcane
Arcane3mo ago
@nithur has reached level 4. GG!
Vishal
Vishal3mo ago
Yes, facing the same issue
siegerts
siegerts3mo ago
I have an extension here that uses shadcn that can maybe help as a reference - https://github.com/siegerts/dossi-ext
GitHub
GitHub - siegerts/dossi-ext: dossi browser extension: Your own priv...
dossi browser extension: Your own private GitHub notes on every page - siegerts/dossi-ext
Vishal
Vishal3mo ago
Hey @siegerts 👋, I can see you've used Context and Fetch for state and query management. Have you ever tried integrating react-query into this or any similar extension?
Arcane
Arcane3mo ago
@Vishal has reached level 1. GG!
siegerts
siegerts3mo ago
Hey @Vishal , in some of the contexts I use react-query. for example - https://github.com/siegerts/dossi-ext/blob/main/contexts/activity.tsx#L3
Arcane
Arcane3mo ago
@siegerts has reached level 4. GG!
Vishal
Vishal3mo ago
Hey @siegerts 👋, Thanks for sharing, gave me a lot of clarity. I was curious what underlying storage does react query uses in such cases? Chrome Extension Storage? Do we need to configure it for this?
YAGPDB.xyz
YAGPDB.xyz3mo ago
Gave +1 Rep to @siegerts (current: #31 - 1)
Vishal
Vishal3mo ago
Moreover, did you consider using react query instead of context API for state management?
siegerts
siegerts3mo ago
It won’t use chrome storage unless you hook into that. Not sure I follow the second question. I’m using them together. My recommendation would be to test what works for your use case.
Vishal
Vishal3mo ago
Thanks a lot @siegerts ☺️
YAGPDB.xyz
YAGPDB.xyz3mo ago
Gave +1 Rep to @siegerts (current: #17 - 2)
Want results from more Discord servers?
Add your server