Skip to content
RED SAGSkills
hard20 pts · first answer countsreactstatehooks

Putting a function in useState

A developer wants to store a formatter function in state and writes setFormatter(formatINR). formatINR is a function taking a number. What goes wrong?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions