JustinGuruTech / todo-react-firebase

Todo web-app made using react, firebase, and materialUI.
0 stars 1 forks source link

Typing Input Lags With Large List #9

Closed TheDizruptor closed 4 years ago

TheDizruptor commented 4 years ago

I'm thinking this is because the whole page is refreshing each time the state is changed in handleTextInput(). Need to use something like shouldComponentUpdate to prevent todo list updating when user inputs text.

TheDizruptor commented 4 years ago

Moved text input and add button to their own component, resolved with Pull Request #10