DEV Community

loading...

Discussion on: React Query in Web Extensions

Collapse
perfect7m profile image
Perfect7M Author

I use React Query with experimental functionality reactjs.org/docs/concurrent-mode-s.... To make it work correctly we need to set up error boundaries. They are only available with class syntax.
Although using class components itself isn't bad at all.

I'm really curious, do you mind share what are you working on?

Collapse
ivanjeremic profile image
Ivan Jeremic • Edited

Very cool. Sorry for now it is closed source because I have some unique features which I want to keep closed until I publish the extension. How about yours can I try it?

Thread Thread
perfect7m profile image
Perfect7M Author • Edited

Not yet, I'm really close to the release date but there is a lot of things to do before that. I will let you know when it will be ready :)

Thread Thread
ivanjeremic profile image
Ivan Jeremic

Thanks, did you start with a react browser extension boilerplate or a totally custom webpack react project?

Thread Thread
perfect7m profile image
Perfect7M Author

I used some "react chrome extension boilerplate" but I can't find it now. But all things were done using web webpack + react + typescript. When I went through coding I find it's useful to separate UI so it's easily replaceable.

Nonetheless, I made some PoC chrome extension using snowpack + preact and it is really cool to play with. You can find it here if you want to take a look: github.com/ZBW-dev/pullrequests-te...