Want to convert Class component into functional component
sanjeevyadavIT opened this issue · 1 comments
sanjeevyadavIT commented
Hello, I would like to contribute to the app, I was checking MainScreen
and it can be easily converted into functional component.
Reason
- With react hooks, state and life-cycle can be managed in functional component
- Not major: How Functional component differ from Class - Dan abramov
- I was looking for best practices when I started reading you code, it would be good for others to learn best practices.
Can I create a pull request extracting MainScreen
class component into functional component?
AurangzaibRamzan commented
yep you can do that . Happy coding 👍