illustration for Manage Application State with Jotai Atoms
free

Manage Application State with Jotai Atoms

Instructor

Daishi Kato
18m closed-captioning
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.0
97
people completed
Published a year ago
|
Updated 11 months 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?

    it is fast paced and fully packed with useful information

    Bruno
    5 days ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Course moved too quickly but the content seemed valuable. It would be better to break down some of the features discussed in each video into two or three separate videos. This would let the user understand at a slower pace.

    tundera
    2 weeks ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    The course covers the basic concepts quite well and is quite informative.

    Learner
    2 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    A brilliant course to see all the different possibilities of Jotai but for me it was too difficult to understand. Had to listen some of the parts 2 to 3 times. That is because the words Atom and AtomsAtom, with different prefixes fly over in a quick tempo. I was quickly loosing grip on what they refer to. But I am very happy I have seen the course to the end. Will try Jotai in my next hobby project instead of React state and context.

    Andre Roussakoff
    3 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Daishi, the author of Jotai, shows off amazing strength and capabilities of the minmialist framework, as well as fundamental approaches to many issues beginners are likely to face in a succinct and dense fashion.

    cognivore
    5 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Hi. I would like to see more examples. Also, I would like a course on Zustand. Best Regards!

    camilo
    8 months ago

Course Content

18m • 10 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers
    Kristian Freeman・36m・Course

    Become familiar with the Workers CLI wrangler that we will use to bootstrap our Worker project. From there you'll understand how a Worker receives and returns requests/Responses. We will also build this serverless function locally for development and deploy it to a custom domain.

    illustration for Create an eCommerce Store with Next.js and Stripe Checkout
    Colby Fayock・1h 4m・Course

    This is a practical project based look at building a working e-commerce store using modern tools and APIs. Excellent for a weekend side-project for your developer project portfolio

    illustration for Practical Git for Everyday Professional Use
    Trevor Miller・1h・Course

    git is a critical component in the modern web developers tool box. This course is a solid introduction and goes beyond the basics with some more advanced git commands you are sure to find useful.