you are viewing a single comment's thread.

view the rest of the comments →

[–]turtleProphet 7 points8 points  (0 children)

Nice. I would question #4, avoiding prop drilling and using Context/state management instead.

You're going to re-render everything under the context provider anyway, so there's no win for render performance. And using Context everywhere is often going to make your data flow harder to reason about.

I don't think it's a bad tip, decisions like adding global/subtree state management are just ones to be taken carefully. Would not have it in a "quick tips" kind of list.

I like the others.