3 ms·
Checkout primatejs if you're tired of all the nonsense.
by cranberryturkey 2y ago
Checkout primatejs if you're tired of all the nonsense.
- lambdaba 2y agoWhy is it great?
- cranberryturkey 2y agoIt lets you use any ui framework you want
- moritzwarhier 2y agoThen what does it do? Is it similar to Vike.dev?
- cranberryturkey 2y agoIt allows you to use vue, react, svelte, angular, htmx, solid, etc....and for the backend you can use Go, python, bun/node/deno and/or typescript. We're also releasing a new version soon that will allow for native desktop apps (ie: Tauri)
- bryanrasmussen 2y agowell.. sounds nice but some things make me worried: 1. "Use the comfort of one runtime during development and the speed gains of another in production." how is that possible without hitting all sorts of backwards/forwards compatibility issues. 2. The react example you give on the front page does not seem very react-like. - that said "Write backend code in your language of choice, leveraging the power of Wasm. Mix routes of different backend languages, allowing your application to be written by different teams." sounds like something that you might think who the hell needs that, but I've worked on a few teams, and am on one now that could perhaps benefit from it. instead what happens now is there is a JS api that sends requests forwards to the actual backend - maybe doing some minimal verification etc. so doubling work - not all places but certain api end points where we don't want to reveal secrets in frontend etc.
- terrablue 2y agoHey. Regarding 1, compatibility is handled by a separate library, Primate's only dependency, rcompat: https://github.com/rcompat/rcompat https://github.com/rcompat/rcompat ; it's a unified compat layer around Node, Deno and Bun. As for 2, what would you consider a React-like example? The examples on the frontend are meant to illustrate commonalities between different frontends.