almost / react-native-sqlite-example

An example of how to read an SQLite database from React Native using react-native-sqlite
MIT License
14 stars 3 forks source link

Handling data changes with mounted components #3

Open jsierles opened 9 years ago

jsierles commented 9 years ago

Thanks for this example, it's very helpful! I have a case where I'm adding data to a table, then navigating back to the list without unmounting that component. Would you recommend a different lifecycle callback to re-fetch the updated data?

almost commented 9 years ago

What are you using to do the navigation between views?

jsierles commented 9 years ago

Currently using NavigatorIOS.