New JS Framework Just Dropped (Next.js Killer??)
Theo - t3․gg・2 minutes read
Tanner Lindley created a competitive fullstack react framework, prioritizing deployment on Vercel and emphasizing server-side rendering with complex data architectures, offer defer functionality for partial loading and potential for static site generation without a server. The text discusses server components, transforming streams, handling markdown files, and loading routes, comparing traditional SPAs with SSR and emphasizing the role of embedded data in content rendering.
Insights
- **Tanner Lindley created a fullstack react framework with components like react query, react charts, tan stack router, and tan stack forms, competing with Next and Remix, emphasizing the highly praised router.**
- **Nils Viny's contributions to the framework simplify bundling chaos and are showcased in projects like Thinky, highlighting the importance of understanding server components deeply for new framework development, contrasting Next's heavy investment in bundler integrations for server components.**
Get key ideas from YouTube videos. It’s free
Recent questions
What is the Tan Stack framework?
The Tan Stack framework is a fullstack react framework created by Tanner Lindley. It includes components like react query, react charts, tan stack router, and tan stack forms. The framework competes with Next and Remix, with a focus on Tanner's highly praised router. The tan.com TSR branch is being built and deployed to Vercel using the new full stack template tan stack start, incorporating Nils Viny's bundling chaos simplification.
What is the significance of server components in frameworks?
Server components play a crucial role in building new frameworks, requiring thorough research and source code analysis. While server components are not immediately planned for the Tan Stack framework due to documentation challenges, Next has heavily invested in deep bundler integrations for server components, a complex and costly endeavor. Waku, a minimal react framework by Dai, offers server components and a simple, readable codebase, emphasizing the importance of understanding server components deeply.
How does Tan Stack prioritize deployment?
Tan Stack prioritizes deployment on Vercel for its well-documented build output API. The framework, based on Tanner's router, utilizes the tan stack start template to streamline deployment to Vercel. This approach ensures a smooth deployment process and efficient utilization of Vercel's capabilities for hosting and managing the framework.
What is the role of SSR in rendering content?
Server-Side Rendering (SSR) is crucial for quickly delivering data to users, especially for highly interactive pages like dashboards that require constant updates. Tanack router, developed by Tanner, excels in complex data architectures, enabling server-side rendering of content such as blog posts fetched from GitHub. The use of defer in Tanack router allows for partial content loading initially, enhancing user experience by displaying core content promptly while streaming in additional data over time.
How does Tanner's system differ from traditional Spas and SSR frameworks?
Tanner's system introduces innovative features like the ability to defer specific promises, ensuring immediate page response while resolving additional data later, similar to Remix's functionality. The system also highlights the potential for static site generation, offering pre-rendering of multiple HTML pages without the need for a server to run on each request. This approach signifies a shift towards more server involvement in rendering content, potentially leading the way in this direction compared to traditional Spas and SSR frameworks like Next.js.