Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/atilafassina/nextjs-layout-state

PoC on how to omit state from different pages in a Next.js application
https://github.com/atilafassina/nextjs-layout-state

jamstack nextjs state-management

Last synced: 2 months ago
JSON representation

PoC on how to omit state from different pages in a Next.js application

Awesome Lists containing this project

README

        

# Next.js Layout State 🪢

[![Netlify Status](https://api.netlify.com/api/v1/badges/79e6c5eb-0508-4d17-a335-55739f25fb67/deploy-status)](https://app.netlify.com/sites/nextjs-layout-state/deploys)
[See it live](https://nextjs-layout-state.netlify.app)

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/atilafassina/nextjs-layout-state)

## Run it locally 🏡

First, run the development server:

```sh
npm run dev
```

Open [http://localhost:3000](http://localhost:3000).

### Set your own 🧭

1. Clone this repo:

```
git clone https://github.com/atilafassina/nextjs-layout-state.git {{your-directory}}
```

2. Navigate to the directory and run

```
npm i && npm run dev
```

3. Be happy 🚀

## Support 👩‍🔧

| dependency | version |
| ---------- | ------- |
| Next.js | 11+ |
| React | 17+ |
| TypeScript | 4.3+ |