Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/atilafassina/nextjs-layout-state
- Owner: atilafassina
- License: mit
- Created: 2021-08-20T19:34:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-19T12:48:45.000Z (over 2 years ago)
- Last Synced: 2024-10-12T23:44:47.798Z (3 months ago)
- Topics: jamstack, nextjs, state-management
- Language: TypeScript
- Homepage: https://nextjs-layout-state.netlify.app/
- Size: 59.6 KB
- Stars: 32
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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+ |