Skip to content
RED SAG Skills
medium10 pts · first answer countsreactstateperformance

Expensive initial state

parseCsv(bigText) is slow. Why is useState(() => parseCsv(bigText)) better than useState(parseCsv(bigText))?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions