« All posts

Point0: A New Fullstack TypeScript Framework on Bun and React

Point0 is a fullstack TypeScript framework on Bun that unifies pages, queries, and mutations into a single typed builder pattern.

Point0 has been introduced as a new fullstack TypeScript framework built on the Bun runtime, aiming to combine the scope of Next.js and TanStack Start with the simplicity of tRPC. At its core is a single typed builder pattern that unifies pages, layouts, components, providers, queries, mutations, and actions — everything affecting a page lives within that page's builder methods, eliminating scattered config files or enforced folder structures.

Under the hood, the loader mechanism is powered by plain react-query, turning pages, layouts, and components into cacheable queries by default. Server and client code coexist in the same builder, with the compiler stripping loader bodies and their imports from the client bundle automatically. The framework supports both SSR and non-SSR modes. Notably, it avoids code generation entirely — full type safety flows from the builder's generics, keeping editor performance fast.

The framework provides patterns for standalone queries independent of page loaders, parallel loading of multiple queries merged via a mapper function, components with their own self-contained loaders, and react-query-based mutations. For engineers, its significance lies in consolidating the page/route/data layer sprawl typical of modern frameworks into one typed API, reducing boilerplate while preserving compile-time type safety. The project is open source on GitHub and ships with documentation plus an llms.txt reference file for AI coding agents.

» SourceHashnode #16