Re-render Component right #335
Comments
Having the same problem. Any change in one of the components of the contentview triggers a re-render of the sidemenu and as such the entire contentview tree too. Is this intended behaviour? |
@Michiel87 I switched to DRYWER with react-native-flux. |
@marcussombra thanks for the tip |
It would be great if someone can address this issue, as I still am experiencing it. Here is my setup: <SideMenu menu={<Menu />}>
<Router>
<Scene key="root" hideNavBar>
<Scene key="auth">
<Scene key="login" title="Login" />
</Scene>
<Scene key="main">
<Scene key="projects" title="Projects" leftTitle="☰" onLeft={() => this.setState({ sidebar: { isOpen: !this.state.sidebar.isOpen }})} />
</Scene>
</Scene>
</Router>
</SideMenu> The library I'm using is the |
It looks like the component doesn't re-render but it actually re-mounts as I'll check it out but not promising anything. |
same problem |
I get this as well, but it does not happen when using the swipe gesture to open the menu. |
every time I open and close the menu, my component (content on the right side, not the menu) re-render. Is this a bug?
The text was updated successfully, but these errors were encountered: