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
@nithur has reached level 4. GG!
Yes, facing the same issue
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
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?
@Vishal has reached level 1. GG!
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
@siegerts has reached level 4. GG!
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?
Gave +1 Rep to @siegerts (current:
#31
- 1
)Moreover, did you consider using react query instead of context API for state management?
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.
Thanks a lot @siegerts ☺️
Gave +1 Rep to @siegerts (current:
#17
- 2
)