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

WIP: Fix #209 missing component ref #210

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

villesau
Copy link

@villesau villesau commented May 30, 2018

Fixes #209 for most of the cases. For initial render the ref is still missing. But that's a problem mostly in case of mock data only I think. Proper fix for that would be to move fetch dispatching to componentDidMount instead of componentWillMount but that change might be controversial.

Also unified handling in case of values as I didn't see purpose to explicitly call then with custom logic as it's handled in createPromiseStateOnFulfillment anyways. If there is purpose, please let me know!

Also wondering what removes the component from meta if it's not defined in fetch calls then too.

TODO: tests

@villesau villesau force-pushed the fix-missing-component-ref-issue-209 branch from 0879b7d to 1ad0996 Compare May 30, 2018 08:56
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

Successfully merging this pull request may close these issues.

Identity requests meta does not have component
1 participant