You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking on writing a decorator which would enable or disable style/usable webpack modules on mount and unmount... Guess what, you already had! 馃幆 THANKS! :D
Just one thing, this could possibly have an issue. I was thinking on having my decorator with a sort of a counter, so it would only unload styles when there aren't components mounted.
One brief example could be a button component, you could have one on a page header, if you enter a page where you have another, it will load styles again, but if you navigate outside of that page, the button o the header would be without styling. And I don't see where you're predicting that behavior on the code yet.
The text was updated successfully, but these errors were encountered:
I was thinking on writing a
decorator
which would enable or disablestyle/usable
webpack modules on mount and unmount... Guess what, you already had! 馃幆 THANKS! :DJust one thing, this could possibly have an issue. I was thinking on having my
decorator
with a sort of a counter, so it would only unload styles when there aren't components mounted.One brief example could be a button component, you could have one on a page header, if you enter a page where you have another, it will load styles again, but if you navigate outside of that page, the button o the header would be without styling. And I don't see where you're predicting that behavior on the code yet.
The text was updated successfully, but these errors were encountered: