3 ms·
Zero seems like a promising approach for developing local-first applications. However, if I want to develop a SPA in the traditional way—using fetch or react-qu
by novoreorx 2y ago
Zero seems like a promising approach for developing local-first applications. However, if I want to develop a SPA in the traditional way—using fetch or react-query to communicate with the server—will I need to configure anything special to separate Zero from One? In other words, I hope One is not tightly coupled with Zero. It should be a data-solution-agnostic framework, focusing on the UI for various needs. We really need something to fill the gap after CRA is replaced by Next.js, as Next.js does not provide a mature SPA solution (and neither does Remix).
- nwienert 2y agoThey are not tightly coupled. We just want to be able to build some great tooling for those who do opt in. But it will always be opt-in to Zero. I think it’s an amazing alternative to CRA - it’s got the lightness of Vite, but you get all three rendering modes on a per page basis!
- novoreorx 2y agoIt must be! You can’t imagine how desperate I was when I found the main stream UI framework in React nowadays didn’t think SPA is a thing, I just want a file-based routing SPA framework, but people keep talking about SSR and Next. With the release of One, I finally don’t feel alone.