looking for some solutions? You are welcome.

SOLVED: How to split a component when it gets big. ReactJs


I have just started learning ReactJs and I am building the snake game for practice.

Everything is going okay, but what I dont like is that my 'Game' component is getting bigger. I can not think of an optimal way to split it in several, simpler components

Here is the repo and I will appreciate any corrections and recommendations.


Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots

No comments: