desfero / react-testing

Created with CodeSandbox
https://codesandbox.io/s/github/desfero/react-testing
4 stars 3 forks source link

TodoList component can be changed to stateless component #1

Open Philips7 opened 6 years ago

Philips7 commented 6 years ago

https://github.com/desfero/react-testing/blob/affeefd6071cd4058cee67b514578ebf60c5adc5/src/TodoList.js#L4

TodoList component can be changed to the stateless component, how do you think? 🌵

desfero commented 6 years ago

yeap, that make sense