Ostof
Ostof
Explore posts from servers
CDCloudflare Developers
Created by Ostof on 4/27/2024 in #pages-help
Best practice for developing and testing with Pages, Workers and Durable Objects.
Hello, Sorry in advance if this is to broad of a question. I’m planning to move/redevelop one of my sites using astro and deploy on cloudflare. I also want to use websockets using durable objects. Are there any tips or best practices when developing and testing with Pages and Workers/DO? I’m not sure if this is even possible, but I wanted to develop the astro page and DO in one project and be able to deploy them together.
1 replies
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