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
Add resolve feature #42
base: master
Are you sure you want to change the base?
Conversation
Add a test and I'll merge. Thanks :) |
@ryanflorence Added |
]) | ||
|
||
function resolver(Component, params, cb) { | ||
Component.loadProps(params, cb, 'check') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this would pass even w/o your changes, right? Maybe switch the name from loadProps
to resolveProps
or something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's impossible. there a lot of places where we are checking that loadProps method exists
We need to use this method now...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will work only with resolver feature
@ryanflorence Done, check it please... |
Now we can control Components interface for loading async data