News for hackers. Stuff that matters.
Re:Show HN: A Tetris clone written in ES6 using React by nullobject on Tuesday February 06, 2018 @12:50AM (#16314667)
Thanks!

It's nice that react is just a view library, so you are free to choose the rest of your stack to best suit your app (i.e. a game).

The only thing I would point out is that you should use immutable data structures, so that you don't re-render parts of your view unnecessarily. There are ways to handle this without immutable data structures (i.e. componentShouldUpdate), but it's more of a pain IMHO.

There are no comments on this comment yet.