Skip to content

new react-web - #2

Merged
yuzhiyi merged 42 commits into
yuzhiyi:masterfrom
flyskywhy:master
Jan 9, 2018
Merged

new react-web#2
yuzhiyi merged 42 commits into
yuzhiyi:masterfrom
flyskywhy:master

Conversation

@yuzhiyi

@yuzhiyi yuzhiyi commented Jan 9, 2018

Copy link
Copy Markdown
Owner

new react-web

cpunion and others added 30 commits August 5, 2017 23:32
 TextInput增加setNativeProps功能
…t-native@0.43.0, and the reason

we set react-dom@16.0.0-alpha.2 but not react-dom@16.0.0-alpha.6 is:

1. react@16.0.0-alpha.6 -> ReactBaseClasses.js -> setState -> enqueueSetState()
is not compatible with the parameters defined in react-dom@15.4.2 ->
ReactUpdateQueue.js -> enqueueSetState(), so we need upgrade react-dom, othewise
navigator can't route to new page because it use setState;

2. ReactAnimated use animated, but animated has not suppor React v16 for now, see
animatedjs/animated#63 , and react-dom@16.0.0-alpha.3
to react-dom@16.0.0-alpha.6 will crash the animated but accurate
react-dom@16.0.0-alpha.2 is good.
Compatible with react/react-dom@^16.0.0-alpha.7
@yuzhiyi
yuzhiyi merged commit cab757f into yuzhiyi:master Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants