Closed robtg4 closed 8 years ago
But you're adding <Menu events={this.eventEmitter} navigate={this.navigate} />
as a menu, so you should have a navigate method inside.
I think the reason may be in the design of component. If you can explain what happens here I can probably advice you how to solve it.
Btw, I think it's better to ask this kind of questions on stackoverflow and cc me, I'd like to keep issues only for bugs.
I'll bring this to stackoverflow and cc u
I seem to be having some difficulty with requiring only one side menu per app instead of having the same side menu implemented on every page that the menu can navigate to - much like keeping one tabbar per app where you can navigate to the different tab pages
right now, my home.js component - the first page to have the side menu, looks like this (i took the toggle implementation you used to make the menu work with MenuButton):
The problem is that i can navigate to the other pages because the Menu component referenced in the SideMenu does not have Navigator as a part of it - so pushing to the next page is meaningless to it. Is there a better way to implement this? I can give you access to the repo if needed.