Repository navigation
No moar unbound event handlers - #637
Merged
Merged
Conversation
Useful in assert-like scenarios
This never worked but due to how we used to forcefully re-render list items we never saw it. Now, with react being able to prevent unnecessary re-rendering we need to update the dom after the props update
Member
Author
|
This is ready for review 🙇 |
Contributor
|
#jolo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This turns on the
react-this-binding-issuerule see #590The code changes are mostly mechanical with the notable exception of the branches (7cb42b2) and repositories (affbad3) lists where I had to move computation of the grouped lists into their individual state bags.
I also had to create a new component for toolbar items (fd26897) in order to have a place to store state.
I found an error in our
Checkboxcomponent, it never updated its state when being re-rendered in place. With our previous model that never happened, it was always recreated when rendering a list. Now it gets re-rendered so we handle receiving new props and update the DOM accordingly (46bad1c)Fixes #590