react.rb icon indicating copy to clipboard operation
react.rb copied to clipboard

Observer free code path for state

Open wied03 opened this issue 8 years ago • 2 comments

For those of us that use the GrandCentral/Redux approach and keep most state outside the component, we don't want to hit any Observable code for any incidental state calls. I'm assuming that any Observable code remains light to keep file sizes down.

wied03 avatar Mar 25 '16 21:03 wied03

@wied03 I agree that observable state shouldn't be required. This could be addressed in the state definition by passing an option. Not sure if it should be opt in or opt out, but I like declaring it for the purpose of having self documenting components.

ajjahn avatar Mar 29 '16 15:03 ajjahn

This issue was moved to reactrb/reactrb#136

sollycatprint avatar Jun 13 '16 13:06 sollycatprint