Earlier I was running into some issues where I wanted to update some state in response to a data binding change however this difficult to do cleanly in React. It got me thinking that perhaps data bindings would be better suited as props on a component vs. state; especially given the immutable nature of nuclear-js. I think it also makes sense in that the components don't really own the data bindings they're connected to and can't explicitly update them anyway. Thoughts on this approach? I'd be happy to take a stab at this over the break if you guys think it has merit.
Earlier I was running into some issues where I wanted to update some state in response to a data binding change however this difficult to do cleanly in React. It got me thinking that perhaps data bindings would be better suited as props on a component vs. state; especially given the immutable nature of nuclear-js. I think it also makes sense in that the components don't really own the data bindings they're connected to and can't explicitly update them anyway. Thoughts on this approach? I'd be happy to take a stab at this over the break if you guys think it has merit.