Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why reducer isn't called on initial screen? #2996

Closed
qmegas opened this issue Apr 15, 2018 · 3 comments
Closed

Why reducer isn't called on initial screen? #2996

qmegas opened this issue Apr 15, 2018 · 3 comments

Comments

@qmegas
Copy link

qmegas commented Apr 15, 2018

Hi,
I use custom reducer function provided through createReducer prop in Router. It works fine when I push/pop screens, but it doesn't called when showing initial screen. Why?
In order to be consistent library should call reducer on pushing first screen too.

Library version: 4.0.0-beta.28
RN version: 0.54.4

@digitaldavenyc
Copy link

@qmegas can you post a code example?

@qmegas
Copy link
Author

qmegas commented May 16, 2018

@digitaldavenyc Unfortunately one month have passed, so I had to move back to version 3.x, thus I have no example code.

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists

@aksonov aksonov closed this as completed Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants