2023-09-04 18:13:30 -07:00
2023-03-03 19:06:04 -08:00
2023-09-04 18:12:30 -07:00
2023-03-03 19:06:04 -08:00
2023-03-04 03:22:40 -08:00
2023-03-03 19:06:04 -08:00
2023-03-03 19:06:04 -08:00
2023-03-03 19:06:04 -08:00
2023-03-03 22:09:34 -08:00
2023-03-03 22:09:34 -08:00
2023-03-03 19:06:04 -08:00
2023-03-03 19:06:04 -08:00
2023-03-03 19:06:04 -08:00

State Management

jotai atom:

  • has default value matching shape of typed object

hooks:

  • check for default value, then
    • populate state via queries or calculations
  • returns direct values

components:

  • retrieving state from hook now initializes it
  • can still modify state using the jotai atom

This is a wagmi + RainbowKit + Next.js project bootstrapped with create-wagmi

Getting Started

Run npm run dev in your terminal, and then open localhost:3000 in your browser.

Once the webpage has loaded, changes made to files inside the src/ directory (e.g. src/pages/index.tsx) will automatically update the webpage.

Learn more

To learn more about Next.js or wagmi, check out the following resources:

Description
No description provided
Readme 5.7 MiB
Languages
TypeScript 100%