50BytesOfJohn
50BytesOfJohn
Explore posts from servers
SSolidJS
Created by 50BytesOfJohn on 12/11/2024 in #support
Missing SSR component after client side navigation (help with icons library SSR)
Hey all, I'm currently building a port of phosphor icons to solid, based on their react package. I wanted to also add SSR support, but I'm not very experienced in solid start. I was thinking about separate exports, like in their react package, and bundle it with babel-solid preset using ssr true. This kinda works, as I'm not getting any hydration errors, but after changing pages on client side (home -> about -> home) the icon disappears. I'm thinking that maybe in case of Solidjs it would be better to use isServer flag. Since I don't have much experience, wanted to ask for an advise, what would be the best way to export icons with good SSR support. In client side icons I'm using context for global theming of icons (like in react version). If anyone would like to share opinion or tip, I would be thankful! 😊
18 replies
XXata
Created by 50BytesOfJohn on 7/25/2024 in #help
Is it possible to restrict api key to specific branch only?
I mean, to have a single API key that I can use for main branch that I can have in vercel prod env for example, and 2nd api key, that can be used for all branches, except main? So while trying to push changes, query etc. from main I will get the error?
4 replies
KKinde
Created by 50BytesOfJohn on 7/7/2024 in #💻┃support
Sometimes when a user is logged out, it's redirected to kinde page
Hey, I have setup all the redirect URLs to my app, but sometimes when I open app after some time, I'm redirected to the kinde auth page, this one that says that you were supposed to don't find it etc. Is there any settings to redirect somewhere else than this page, I think I checked all of them and couldn't find such. Or maybe some setting to add a button like "Go to app" etc.
8 replies