How to build complex forms without tons of callbacks
There's an interesting idea in imgui libraries based on C where the input field takes a pointer to the value it's supposed to edit:
input_field("label", &object.field)
We can take inspiration from this idea to define input components in (p)react...
hasen.hashnode.dev5 min read