illustration for Manage Application State with Jotai Atoms
free

Manage Application State with Jotai Atoms

Instructor

Daishi Kato

18m closed-captioning
·
10 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.0
192
people completed
Published 4 years ago
|
Updated 4 years ago

jotai is a primitive and flexible state management solution for React.

jotai gives you a minimalistic API that you can use that separates your state management from your UI. You get the benefits of well manages state AND you don't have to set up any boilerplate like defining actions, reducers, dispatchers, or stores.

You create an atom and you're off to the races managing your application state.

In this course, you'll build an SVG drawing application. You'll see how you can represent the canvas as state through atoms and add svg path, change the path colors, delete, and even undo actions. You'll sum up your learning by learning how jotai can isolate state in your applications by using and composing Providers.

You'll be able to use the concepts you learn here to manage any state in your own application.

This course covers the core API that you'll need to know for managing state in React with Jotai. If you're looking for a state management solution with minimal boilerplate that scales as you need it you should check this out.

Free Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.

What you'll learn:

  • Share state between components
  • Derive state from jotai atoms
  • Prevent re-renders with write-only atoms
  • Compose jotai atoms for complex functionality
  • Track application state history through jotai atoms

Learner Reviews

  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Great course from the author himself! Dense and concise, Really helpful to get the feel and philosophy behind jotai

    ridwan
    a year ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Gave me an idea of what Jotai is

    Christopher Dunavan
    a year ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Very rich in content for such a short course, good examples and explanations

    Sonja Musicki
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    This course is definitely not for beginners. People should try to do the exercises along and read the documentation since some new changes to the v2 have emerged

    alechaye
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    How can this course be improved?

    I understand the good intentions of the course, but I think that more than explaining the use of Jotai, what is done is a sample of how it works. The audio is not good and the speed of the code explanation is very fast. I don't think it is a course to easily understand the use of Jotai.

    Alejandro Rangel Celis
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    The pace is unsettling and the voice is too low.

    Vishnu Prasad P S
    2 years ago

Course Content

18m • 10 lessons

    You might also like these resources:

    illustration for The Beginner's Guide to React
    Kent C. Dodds • 2h 29m • Course

    This course is for React newbies and anyone looking to build a solid foundation. It’s designed to teach you everything you need to start building web apps in React right away.

    illustration for Sync State Across Components with Recoil in React
    Tomasz Łakomy • 5m • Course

    Recoil works and thinks like React. Add some to your app and get fast and flexible shared state.

    illustration for React Context for State Management
    Dave Ceddia • 35m • Course

    You’ll learn how to create a context, how to pass data through an app without manually passing props everywhere, and how to group related data using simple wrapper components.