Skip to content

bennygenel/nextjs-with-unstated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy to now

Unstated example

How to use

Download manually

Clone the repo:

git clone https://github.com/bennygenel/nextjs-with-unstated
cd nextjs-with-unstated

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with now (download)

now

The idea behind the example

This example shows how to integrate Unstated in Next.js. For more info about Unstated you can visit here. The example is basically same as redux example

Unstated is designed to build on top of the patterns already set out by React components and context.

It has three pieces:

  • Container

  • <Subscribe>

  • <Provider>


About

Next.js example with unstated

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published