I have spent my entire morning reading the docs, but can't find simple OnEnter() method, like in react-router. I'm using the latest version.
I need to fetch some resources when entering some specific Scene. Any idea?
I have spent my entire morning reading the docs, but can't find simple OnEnter() method, like in react-router. I'm using the latest version.
I need to fetch some resources when entering some specific Scene. Any idea?
you can use either constructor or componentWillMount functions in the scene component.