Closed nkbt closed 9 years ago
These should be possible:
No need for container element, just render component if it is not provided
<InFlux namespace="sidebar" config={{ open: SidebarOpened, close: SidebarClosed }} />
Instead of passing Smart container to the config, pass it as child
Instead of
<InFlux namespace="sidebar" config={Container} />
Should be
<InFlux namespace="sidebar"> <Container what={ever} /> </InFlux>
So we can have nesting and pass some props.
Having (2) in place, we would be able to specify config with default value.
<InFlux namespace="sidebar" config={{[getDefault()]: 'open'}}> <Container /> </InFlux>
1. Moved to #61
1
2. Remove pathname #64 (there is a react-router for that)
2
These should be possible:
No need for container element, just render component if it is not provided
Instead of passing Smart container to the config, pass it as child
Instead of
Should be
So we can have nesting and pass some props.
Having (2) in place, we would be able to specify config with default value.