pacovelobs
pacovelobs
SSolidJS
Created by pacovelobs on 7/4/2023 in #support
FileRoutes props for app-wide signals
Works like a charm. Thanks a lot!
14 replies
SSolidJS
Created by pacovelobs on 7/4/2023 in #support
FileRoutes props for app-wide signals
So, basically, a single file in ~/components with getters and setters would be enough.
14 replies
SSolidJS
Created by pacovelobs on 7/4/2023 in #support
FileRoutes props for app-wide signals
Those are 100% front-end related, server will never know about. It's a color picker and it does not deal with backend at all. A fully static site in the making.
14 replies
SSolidJS
Created by pacovelobs on 7/4/2023 in #support
FileRoutes props for app-wide signals
Well, this might be even smarter. I'm hosting the app on gitlab pages so no SSR at all on the road-map.
14 replies
SSolidJS
Created by pacovelobs on 7/4/2023 in #support
FileRoutes props for app-wide signals
All right. This is also available in Yew but I preferred to endure the props drilling than to fight the borrow-checker at run-time. It might be smarter to use contexts with Solid. Will do. Thanks for your quick reply 🙏
14 replies