Emo
Explore posts from serversDon't send component logic to client conditionally on data?
Hey everyone! I'm trying to wrap my head around this use case and can't understand how one would do it in SolidStart, if someone can help.
In full SSR world:
Very simple: on the server I have a backend request that tells me if user has permission A or not.
Then, I have logic regarding that permission A to show or not show various components.
How can I remove the unused bits from components? does it get removed by default? I don't want to show users without permission A either logic or hidden components in the JS
3 replies