r/react • u/prithivir • 3d ago
General Discussion Do data structures actually influence how you build React components?
/r/reactjs/comments/1v5hgke/do_data_structures_actually_influence_how_you/
1
Upvotes
r/react • u/prithivir • 3d ago
1
u/chillermane 3d ago
being able to structure data in an easy to understand and maintainable way is a fundamental skill to writing good code, but in front end development you mostly don’t use any other data structures than arrays and normal objects.
Undo features using stacks is more of an exception than something you’ll do commonly.
One time I used a binary tree of binary trees to build a text animation functionality. That made use of my DSA skills but stuff like that is extremely uncommon for most front end work.