-
Notifications
You must be signed in to change notification settings - Fork 199
Reading route params from NavigationBar #121
Comments
How are you updating the route params? Docs seem fine. You can also check it in action here https://github.com/exponentjs/ex-navigation/blob/master/example/components/EventEmitterExample.js#L59 |
Thanks. Again.. from the docs:
This won't work, because there is no "name" field directly on the params object. The params object is actually a route which in turn has a params object which might have a name field. |
@MichaelSWE Hmm... In the example I linked the |
@satya164 Yeah, I see that now. Misread it.. But it doesn't look like this to me. I push the route like this:
And I have to read the params like this:
If I do
I'm using ex-navigation 1.5.29 |
The doc says to do this:
But I need to do this to get it working:
Am I right in doing this? I.e. should the docs be updated, or will I get in trouble in the next version?
The text was updated successfully, but these errors were encountered: