Post

One thing I’ve changed my mind on when it comes to documentation is whether to discuss implementation details. The purist in me wanted to leave them out because “the whole point is you don’t need to know!” But in hindsight this paternalises consumers. It leaves them without a good mental model.

I'm actually considering writing a series of blog posts called "React Router Mental Models" to try to explain some of the parts of the current docs that I feel don't give enough context. Mostly coz I'm tired of answering the same questions over and over again in the Discord 😅

That's basically why I wrote my "Guide to React Rendering Behavior" post :) It's primarily external visible behavior rather than impl details, but it definitely tries to address that mental model due to consistent misunderstandings I see in the wild: blog.isquaredsoftware.com/2020/05/blog...

blog.isquaredsoftware.comBlogged Answers: A (Mostly) Complete Guide to React Rendering BehaviorDetails on how React rendering behaves, and how use of Context and React-Redux affect rendering

1 repost15 likes