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
A few ideas for tweaks #1
Comments
Thanks for the feedback.
|
Right, I would just move the state to the owner component and have It take the value of the id of the item being edited (or null) |
Gotcha. I'll try that out. |
@petehunt I looked at your suggestion again and am wondering what advantage moving |
exactly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is great! Had a few ideas for improvement.
editing
be on props instead of stateif (this.props.editing && !prevProps.editing)
getBackboneObject()
to the user of the mixin rather than the mixin itself.Just a few ideas... this looks great!
The text was updated successfully, but these errors were encountered: