Component rendering is currently run within a computation on the client. However, React can re-render the component while not in a reactive computation, which means that using reactive data sources in component methods has inconsistent results.
The component rendering should be probably be non-reactive, and a mixin should be added to enable reactive state within components, in a similar style to react-meteor.
Component rendering is currently run within a computation on the client. However, React can re-render the component while not in a reactive computation, which means that using reactive data sources in component methods has inconsistent results.
The component rendering should be probably be non-reactive, and a mixin should be added to enable reactive state within components, in a similar style to react-meteor.