-
Notifications
You must be signed in to change notification settings - Fork 0
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
[wip] Migrate to React #91
Open
ryanscottaudio
wants to merge
47
commits into
master
Choose a base branch
from
react
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
cfaec8b
Start migrating to React
ryanscottaudio 1b00a01
Merge
ryanscottaudio c9eca4c
Switch more components to React
ryanscottaudio ed50734
add proptypes
ryanscottaudio 3b90046
Some linting
ryanscottaudio 97131ef
return undefined
ryanscottaudio 9b50886
Update travis to node 6
ryanscottaudio 0f820b2
Install react-test-renderer
ryanscottaudio 0797393
camelCase contentEditable
ryanscottaudio e608959
Move more to react
ryanscottaudio 14869d4
Move outer code to flow
ryanscottaudio caf1cb4
Lint/flow
ryanscottaudio 8ac3a99
Add spread operator plugin
ryanscottaudio 9cef906
Switch back to old test command
ryanscottaudio 41bfea4
Add example back in
ryanscottaudio 1679d41
Fix calling class as function issue
ryanscottaudio 4d619f3
Lint
ryanscottaudio 6b3f1c6
Avoid using delegateTarget which is unique to ddeku
ryanscottaudio 4a705ab
Fix fsF
ryanscottaudio aa7791b
Start trying to use jsdom in tests since enzyme's iframes never call …
ryanscottaudio 8de740c
Use jsdom 9
ryanscottaudio 852c1de
Remove jsdom; react-dom can render fine without it
ryanscottaudio 8c321c0
Add faucet back in
ryanscottaudio bedeb18
Fix instagram fixture
ryanscottaudio b92be99
Fix more tests
ryanscottaudio 58e2832
Break out stripper function
ryanscottaudio 65c6496
Pipe browser tests to faucet (needed for tests to fail correctly in t…
ellell 6348248
Fix expected iframe allowfullscren value
ellell 0713603
Bubble mouseup event in test
ellell 0a8aaea
move event callbacks outside of render, can use ref instead of delega…
ellell dd0278c
Fix for mouseup event not firing on child elements of <article>
ellell b373235
Fix typo in test
ellell 505d5ed
Fix cut/paste update
ellell 19a7c05
cleanup before rendering app in new test
ellell 6505a7f
Fix setting selection in test (was incorrect because of react comment…
ellell d6eb887
Fix custom keydown, need persist to get access to .metaKey for example
ellell 3d7c1e6
Fix node test command
ellell abafdd5
Fix lint/flow
ellell b164102
Fix error where articleElm is null
ellell cd07848
Only render when props have changed
ellell 3e955bb
Strip react before diffing innerhtml
ryanscottaudio 9261dcc
Update readme
ryanscottaudio 8c52475
Use string replacement to strip react tags
ryanscottaudio 1febc68
remove removal of react root for faster diffing
ryanscottaudio 8ac6290
Dont check items against each other because they're arrays
ryanscottaudio 26d3ed4
Add deep check back in
ryanscottaudio 0d8d0c8
remove deepequal
ryanscottaudio 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
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
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.
@ryanscottaudio Hey, did this make a performance difference? Realizing now it might do that in the example, but where we use this in our editor we're using immutable data, so just checking
this.props.items !== nextProps.items
used to be enough before at least.