This is how all my #react components are starting to look. The component only renders html and all the other stuff (pulling state, defining callbacks) happens in the "Handler" class.

The constructor of the class is filled with "use" hooks. Scandalous...

@jameskerr Interesting. Why did you chose a class instead of a functional custom hook?
@lucsky A class has more options than a function body. It can inherit from a base class for instance. I have my handlers inherit from a base ViewHandler class. The base class has common functions defined like "dispatch" and "select" defined.
@jameskerr Nice, I like it 👍 Thanks!