Adding Local State to a React Component

Поділитися
Вставка
  • Опубліковано 18 вер 2024

КОМЕНТАРІ • 2

  • @pauliusstuksys5158
    @pauliusstuksys5158 2 роки тому +1

    Nice and simple, thx!

  • @creepboekn1089
    @creepboekn1089 2 роки тому

    Is possible to set local state a function instead of a string value? I mean name's value is "Greg", but name's value could be a function that returns an API response as an array?