theurbanforrest/appten

Get props from other namespaces in redux

Closed this issue · 1 comments

User Story
I need to figure out how to grab any props on any view in redux

Acceptance Criteria

  • In a certain component, figure out how to get props from redux that belong to other components (e.g. in SuperMap, get props from StationDetail)

fixed with #18 , figured out how to get props from any namespace in the redux state. Example of doing so for navigation:

this.props.navigation.navigate('StationDetail',{ area: 'Queens', colors: 'blue,orange,purple', id: 4, lines: 'E,F,7', longName: 'Long Name', shortName: 'Shortish Name' })

this is Done