Ostof
Ostof
Explore posts from servers
SSolidJS
Created by Ostof on 10/15/2023 in #support
Set Initial Route using @solidjs/router
Hello, I have a simple Router setup with 3 routes/tabs inside my Main component
<Routes>
<Route path={'/1'} component={Tab1}></Route>
<Route path={'/2'} component={Tab2}></Route>
<Route path={'/3'} component={Tab3}></Route>
</Routes>
<Routes>
<Route path={'/1'} component={Tab1}></Route>
<Route path={'/2'} component={Tab2}></Route>
<Route path={'/3'} component={Tab3}></Route>
</Routes>
I want to make sure that every time the page is reloaded users are navigated to /1. Currently I just call navigate('/1') using the useNavigate from the Router package inside the Main component and just wanted to know if there is another/better way to do this.
2 replies
SSolidJS
Created by Ostof on 6/18/2023 in #support
Module Federation inside a Monorepo
I have a Monorepo with multiple Solid Projects. I want to host some components inside one of them to use them in another. The motivation for this is, that the deployment for one of the projects is quite a long process. So I just want to import a "tab" component and be able to edit it remotely.
5 replies
SSolidJS
Created by Ostof on 4/26/2023 in #support
Solidstart + CF Durable Objects in one Project
I have seen the with-Websockets example, although I’m still trying to understand it. But since it is using Cloudflare’s Durable Objects I’d like to know if is possible to develop a Solidstart app + CF DO’s in one project and deployment. Has anyone tried this or are there examples? Thanks!
1 replies