Tamagui is dead. Long live One, a new React framework

Intro

One is a React framework that aims to make full stack development as simple as possible - whether you're making a website, an app, or sharing code between the two.

This framework is brought to you by the team who created Tamagui, so naturally I am keen to test it out.

Install

Make sure you are running Node 18 or above then run

npx one

Follow the prompts and select the Fullstack template with Drizzle, Postgres and all the good stuff.

We will use Docker to run Postgres for us so make sure you have Docker desktop installed then run:

docker compose up

Next we will setup, sync our tables and seed our db using drizzle:

yarn db:init

If that all works you should now be able to run the dev server:

yarn one dev
ow

Highlights

Typed Filesystem Routing

Simple routing with nested layouts, groups all fully typed

Routing Modes - SPA, SSR or SSG

Select globally and per page

Loaders

Typed data loaders, similar to remix

Web + Native

Build your website and React Native app at the same time, sharing components

100% Vite

No more Metro, one plugin, one server, one port - three platforms.

Integration with ZeroSync

A new general purpose sync engine

View More Posts

Portfolio built using the open source project by

Initium Studio

Create your own Next.js Portfolio with Contentful CMS by forking this repo onGitHub

Blog

|

Projects

|

Health

|

Recipes

|

About

|

Contact

2024 Greeff Consulting Pty Ltd