DEV Community

Cover image for How to work with Arrays in ReactJS useState.

How to work with Arrays in ReactJS useState.

Mohammed Nadeem Shareef on May 21, 2021

Hello Developers👋 ReactJS introduce Hooks in React 16.8. And since then the most used hook is "useState" || "useEffect" In this blog, W...
Collapse
 
ike5 profile image
Ike Maldonado •

Thank you! This was very helpful.

Collapse
 
ivanoliveiraweb profile image
Ivan Oliveira •

Sensational! Helped me a lot

Collapse
 
damnor profile image
noris damianus •

what a beautiful code, clean and simple

Collapse
 
sidhant2004 profile image
sidhant2004 •

can we save this data to firebase

Collapse
 
shareef profile image
Mohammed Nadeem Shareef •

Firebase doesn't support multidimensional arrays data type. There are work arounds for that.

Collapse
 
isuyashpatel profile image
Suyash Patel •

Thank You so much for this blog!

Collapse
 
shareef profile image
Mohammed Nadeem Shareef •

Your most welcome 😇

Collapse
 
karanbir8872 profile image
karanbir8872 •

very easy explain Thank you for this blog.

Collapse
 
shareef profile image
Mohammed Nadeem Shareef •

Glad It help you 💖

Collapse
 
mrityunjay_mahi profile image
Mrityunjay Singh •

nice stuff loved it

Collapse
 
bujhm profile image
Igor •

Thanks man! It's really helped!
Quite clean, neat and understandable!

Collapse
 
sjainventuresgit profile image
Sjain Ventures •

Can you also add the Insction for removing the Specific ID Friends as well ?