• Notnotmike@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Probably the hardest part of React, for me, was getting used to the callbacks. Passing data up to the parent component using a function. It’s a little difficult to get used to if you haven’t encountered it already

    • TherouxSonfeir@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Just shove it in the state! I watched a few react videos over the last TWO WHOLE DAYS, it works!! ;$