DEV Community

loading...

Discussion on: Callback solution for useState hook in React

Collapse
rajeshroyal profile image
Rajesh Royal

good one but can't satisfy the need, It can't be reliable.

Collapse
harshjoeyit profile image
Harshit Gangwar

I am new to React and learning.
Please explain the pitfalls of this implementation?