This repository has been archived by the owner on Dec 31, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 349
Observable props of observer-ed component #136
Closed
Closed
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d81d33a
attempt to made this.props observable, see #124
mweststrate 0bcf70b
made `this.props` observable!
mweststrate 482ae47
well if props / state is observable... why SCU at all?
mweststrate a974277
Added a failing test case when function passed to props.
Strate fa427ad
Add `asReference` modifier for each property of component
Strate 8c678c2
Make `this.props` setter an action
Strate 4e3dc99
Use same techique to make props & state observable
Strate 6690f91
Add failing test case with broken lifecycle methods
Strate eca5341
Tried to implement smart observable of props & state of component.
Strate d576192
Remove missed console.log
Strate 1e83e1a
Debounce reportChanged
Strate f5be8f4
Skip render while props/state change `reportChanged()` call.
Strate 888dc72
Remove lodash.debounce as it is not needed anymore
Strate 0310ba1
Remove unused import of `lodash.debounce`.
Strate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,4 @@ | |
"reactjs", | ||
"reactive" | ||
] | ||
} | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Is this dep still needed..?
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.
Oh, no, I've forgot about this import. Gonna to remove.