We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I propose to wrap component render function to provide props as the first argument and errors as the second.
render
props
errors
Wrap SFCs to do the same.
By solving the problem like this, the method of rendering components is unified. No more this.props.
this.props
However, by solving it this way we also add a little "magic" on top of React. An alternative might be to provide this.errors for components.
this.errors
The text was updated successfully, but these errors were encountered:
jdolle
No branches or pull requests
I propose to wrap component
render
function to provideprops
as the first argument anderrors
as the second.Wrap SFCs to do the same.
By solving the problem like this, the method of rendering components is unified. No more
this.props
.However, by solving it this way we also add a little "magic" on top of React. An alternative might be to provide
this.errors
for components.The text was updated successfully, but these errors were encountered: