Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brandonroberts/tanstack-react-router-analog-nitro

An example application using TanStack React Router with AnalogJS + Nitro
https://github.com/brandonroberts/tanstack-react-router-analog-nitro

react ssr tanstack vit

Last synced: 7 days ago
JSON representation

An example application using TanStack React Router with AnalogJS + Nitro

Awesome Lists containing this project

README

        

# TanStack React Router + Analog + Nitro

This is an example application using [TanStack React Router](https://tanstack.com/router) + [Analog + Nitro](https://github.com/analogjs/analog/tree/main/packages/vite-plugin-nitro) that includes SSR and prerendering.

The example application is from the TanStack React Router docs.

## Setup

Install the dependencies

```sh
npm install
```

## Development

Run the development server

```sh
npm run dev
```

Navigate to http://localhost:5173 in the browser

## Build

Run the build command to build the client/server apps and prerender the pages

```sh
npm run build
```

## TODOs

- Get SSR hydration working with Router