Managing React State: 10 Years of Lessons Learned - Cory House, React Day Berlin 2023

Sdílet
Vložit
  • čas přidán 19. 12. 2023
  • React Day Berlin 2023 #reactdayberlin #GitNation
    Website - reactday.berlin/
    Follow the link to watch the full version of all the conference talks, QnA’s with speakers and hands-on workshop recordings → portal.gitnation.org/events/r...
    Talk: Managing React State: 10 Years of Lessons Learned
    Managing React state is hard. Why? Because there are so many options to consider! Local state, reducers, custom hooks, context, and over a dozen third-party libraries. In this session, we’ll explore the lessons I’ve learned from managing complex state in React over the last seven years. I’ll share my strategy for categorizing React state including local, server, global, derived and many more. After this session, you’ll understand how to identify different types of state, where to declare state, and how to choose between these different options.
    This event would not take place without the support of sponsors:
    🥇 Gold Sponsors
    Storyblok → www.storyblok.com/
    Handsontable → handsontable.com/?...
    Bonial → www.bonial.com/de/
    Ably → ably.com/
    Auth0 by Okta → auth0.com/
    Focus Reactive → focusreactive.com/
    🥈 Silver Sponsors
    Sentry → sentry.io/welcome/
    Replay → www.replay.io/
  • Věda a technologie

Komentáře • 7

  • @ahmedmuhammedelsaid5345
    @ahmedmuhammedelsaid5345 Před 5 měsíci +1

    wonderful lesson , ThanQ

  • @rockNbrain
    @rockNbrain Před 7 měsíci +8

    Great content bro 🎉

  • @starlord6356
    @starlord6356 Před 7 měsíci +3

    Amazing content, Thanks

  • @bryanltobing
    @bryanltobing Před 7 měsíci +3

    Thanks

  • @imadimad8814
    @imadimad8814 Před 6 měsíci

    For forms, what is the best solution , using useState or useRef ?

    • @andreperegrina
      @andreperegrina Před 5 měsíci +1

      Never use useRef to store states. ref is for a different type of problems.
      Instead use useState or useReducer, if you want to avoid all the managing of the state of the form, you can use libraries like formik or react hook forms

  • @nessrinatallah4146
    @nessrinatallah4146 Před 7 měsíci +1

    ⁰ lonkkkkk😊😊