| ▲ | spankalee 2 hours ago | |
Reactivity and functional programming are orthogonal though. And in most functional systems the one-time setup function would return the render function so the render function can close over state. Which is pretty much what a class with fields, a constructor, and a render method give you. | ||