soul-codes / react-tss

MIT License
0 stars 0 forks source link

Add jss-plugin-isolate #1

Open dashkevics opened 2 years ago

dashkevics commented 2 years ago

Hey! It is available to add jss-plugin-isolate?

soul-codes commented 2 years ago

Hey! Thanks for opening the first issue! 🚀 I think best would just be to allow the plugins to be customized. I'll try to have a PR for you to try by tomorrow GMT+7.

dashkevics commented 2 years ago

Hey! Thanks for opening the first issue! 🚀 I think best would just be to allow the plugins to be customized. I'll try to have a PR for you to try by tomorrow GMT+7.

Thank you! I'm start using your library after I had a memory leak issues with react-jss. I have a web3 chat, where we load a lot of user components with the same styles, but JSS apply new style for each one.

soul-codes commented 2 years ago

Sorry for the delay @dashkevics! Please try out 1.1.0-rc.0 and follow the instruction here (go to header "Custom JSS initialization", GitHub doesn't seem to want to navigate you there directly) to see if this can be used for your requirements. If this works, then I'll release 1.1.0 properly.