3 ms·
What's a full-stack TypeScript-based alternative that's good enough for most of us? I constantly bump into the complexity of NextJS myself, but so far I've powe
by 8f2ab37a-ed6c 3y ago
What's a full-stack TypeScript-based alternative that's good enough for most of us? I constantly bump into the complexity of NextJS myself, but so far I've powered through the pain.
- satvikpendem 3y agoVite with trpc? I personally don't use the backend functionality of NextJS at all, I have my own backend (in Rust but I'd do the same in Node as well) that communicates via GraphQL to the frontend in NextJS, it's pretty nice.
- reducesuffering 3y agoWhat are you doing with trpc if your backend is in Rust? trpc is typescript to typescript
- satvikpendem 3y agoI never said I was using trpc, I was simply answering the parent's question about NextJS alternatives. But even with Rust, you can use a similar project called rspc that creates TS types from Rust.
- sergiotapia 3y agoI searched far and wide a few months ago and found these two are the only real contenders: RedwoodJS Remix If I had to compare them, I would label Redwood as more of an "emberjs" type feel, very corpo, angular-js, "enterprise". Remix is more loose and new, fresh ideas that other frameworks have since attempted to copy. Pick your poison.
- nberlette 3y agoHave you considered Deno? First class TypeScript support, secure sandboxing, and JIT rendering for React/Preact style projects with Fresh (https://fresh.deno.dev https://fresh.deno.dev). Also, they recently introduced a Node compatibility feature that supports _most_ modules. You can import directly from NPM using the npm: specifier, or import (almost) all of the builtin Node APIs using the standard node: specifier. Since recent versions (1.30+) of Deno are bundled with whats essentially a Node clone, and since its all packaged as a ~32MB executable... I've found myself just using Deno for everything lately. So far its been able to handle all of the projects I used to run with Node. Check out their docs: https://deno.land/manual https://deno.land/manual