Fullstack Labs interview question

React state management question Better react app performance