Components drawing themselves is a side effect, and components returning markup are pure functions of their state.
One is a lot easier to unit test than the other, for example.
One is a lot easier to unit test than the other, for example.
No comments yet.