framework
framework copied to clipboard
Transform `@foo` to `self.state[:foo]`
StateAndPropsTransformer transformes $foo to self.props[:foo]. Would be convenient to have the same thing for state.
Not 100% sure how it should work with update { |state| }.. could probably figure out something clever... or maybe use mayu-signals