ericvicenti / navigation-rfc

Better Navigation in React Native
441 stars 44 forks source link

Scene Registry #64

Closed mschipperheyn closed 8 years ago

mschipperheyn commented 8 years ago

Ive been looking in the documentation for some kind of Route/Scene Registry component. It would be a component that holds all the known Screens (Home, Registration, etc), a function to retrieve the Screen component lazily, a way to parse a route path (as opposed to a key): (account/profile, account/shoppingcart, account/user/{id}). I havent found it yet in the documentation. Is that something that is part of the concept?

ericvicenti commented 8 years ago

Right now this is left up to the app developer. It would be great to see the community contribute additional modules to handle the remaining pieces:

mschipperheyn commented 8 years ago

Im in the process of whipping something up. Ill release it when its ready.

jmurzy commented 8 years ago

@mschipperheyn I've been working on a project, react-router-native, that might pique your interest. Any feedback would be greatly appreciated.

mschipperheyn commented 8 years ago

@jmurzy Looks cool and in line with what I've been doing myself.