Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Production prerendered mode isn't working #24

Closed
sebas5384 opened this issue Jan 22, 2015 · 0 comments
Closed

Production prerendered mode isn't working #24

sebas5384 opened this issue Jan 22, 2015 · 0 comments

Comments

@sebas5384
Copy link

I know this is a duplicated issue #16 , but given is closed and not really fixed I'm opening another.

Debugging I get to the conclusion that the "ItemsStoreFetcher.fetch" function of the item-store module isn't resolving the callbacks given from the async.forEach at the prerender.jsx file in line 28.

You can prove it by passing an error into the callback and then it will finally execute the complete function which is rendering the react components. Only way I have it working.

Maybe I'm tripping but I think is something about the "unavailableItems" variable in the "ItemsStoreFetcher.fetch" function, because if is missing one callback, the async.each wont execute the complete function.

UPDATE: Please see pull request #25

sebas5384 referenced this issue Jan 22, 2015
outdate instead of update on navigation
updated deps
reordered requests
sebas5384 added a commit to TallerWebSolutions/react-starter that referenced this issue Jan 22, 2015
@sokra sokra closed this as completed in 94b77f2 Jan 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant