Why? Where is the practical difference for the program design between "returning html that the browser then draws" to "drawing themself" at the end of the flow?
Serious question, and I'm not a Windows programmer, I might be missing something.
Serious question, and I'm not a Windows programmer, I might be missing something.
One is a lot easier to unit test than the other, for example.
That's a red herring. That would be relevant if we were discussing the imperative vs functional methodology.
But what the article discusses is the similarity in the architecture of two view management systems.
And even more so, the imperative changes in the Windows scheme described are encapsulated inside the views, and the overall system is more functional that you give it credit for. But, again, I think that this is beside the point.
https://facebook.github.io/react/docs/component-api.html#for...