We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. Apparently the example provided updates the store, but the store doesn't updates the view. Not sure what to do.
The text was updated successfully, but these errors were encountered:
Did you test it in android or iOS?
Sorry, something went wrong.
Hi @Euandrei , You can add observer and import 'observer'
import {observer} from 'mobx-react'
const Counter = observer(({store}) => <View style={styles.container}> <Text style={styles.welcome}> Welcome to React Native Reactive! </Text> <Text>Counter: {store.counter}</Text> <Text>Total clicks: {store.total}</Text> <Button onPress={store.increase}>+</Button> <Button onPress={store.decrease}>-</Button> </View>)
It work for Me, hope this will solve your problem.
No branches or pull requests
Hi. Apparently the example provided updates the store, but the store doesn't updates the view.
Not sure what to do.
The text was updated successfully, but these errors were encountered: