Log in Sign up
3 Matching Annotations
  1. Oct 2020
  2. recoiljs.org recoiljs.org
    Getting Started | Recoil
    1
    1. TylerRick 12 Oct 2020
      in Public
      We get a boilerplate-free API where shared state has the same simple get/set interface as React local state (yet can be encapsulated with reducers etc. if needed).
      boilerplate-free API simple API consistency useState reducers design goals
    Visit annotations in context

    Tags

    • consistency
    • design goals
    • simple API
    • boilerplate-free
    • reducers
    • API
    • useState

    Annotators

    • TylerRick

    URL

    recoiljs.org/docs/introduction/motivation
  3. Sep 2019
  4. codesandbox.io codesandbox.io
    CodeSandbox
    1
    1. TylerRick 19 Sep 2019
      in Public
      example of: reduce reducers runnable example react-final-form reduce javascript async validation
    Visit annotations in context

    Tags

    • javascript
    • async validation
    • react-final-form
    • example of: reduce
    • runnable example
    • reducers
    • reduce

    Annotators

    • TylerRick

    URL

    codesandbox.io/s/wy7z7q5zx5
  5. Aug 2019
  6. www.freecodecamp.org www.freecodecamp.org
    Why you should choose useState instead of useReducer
    1
    1. TylerRick 28 Aug 2019
      in Public
      I don’t like reducers. I’ve tried using them, but I always end up migrating away. Something just feels wrong about dispatching actions to trigger business logic when I could instead do so by invoking a function with arguments.
      reducers feels wrong
    Visit annotations in context

    Tags

    • feels wrong
    • reducers

    Annotators

    • TylerRick

    URL

    freecodecamp.org/news/why-you-should-choose-usestate-instead-of-usereducer-ffc80057f815/
Share:
Group. Only group members will be able to view this annotation.
Only me. No one else will be able to view this annotation.
Hypothes.is
  • About
  • Blog
  • Bioscience
  • Education
  • Jobs
  • Help
  • Contact
  • Terms of Service
  • Privacy Policy