DEV Community

Discussion on: Understanding useContext in React

Collapse
iqrivas profile image
Denisse Rivas

After hours trying to make it work before seeing this, it was so beautiful applying this to my project and see it work like a charm, I used it to show/hide a Purchase modal. Thank you for taking the time to explain this! 💚

Collapse
ilizette profile image
Elizabeth Author

I'm glad it helped!