Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

  • PortNull@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    10 hours ago

    There are no objects in a pure functional language. No mutable types. Could you give an example of what you mean please?

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      10 hours ago

      Oh, right, there is no mutability. There is just some context you chain from one function to another, that gets abstracting exactly as changes into some existing state.

      Oh, and all that running in a mutability place-oriented imperative machine.