Sebastian Markbage
ada60c4fd8
Remove ReactDOM.native shim
...
This is causing build errors.
This should be in the downstream repo if anything.
Relay has its own shim that should be preferred.
2016-04-20 03:35:31 +01:00
Sebastian Markbage
744548ad14
Fix lint for moved ReactNative
2016-04-20 03:35:31 +01:00
Sebastian Markbage
5470972f6a
Update devtools injection
...
This isn't actually used right now so I can't test it. Because the
Chrome devtools are broken for React Native. The Nuclide integration
is in the react-native repo.
2016-04-20 03:35:31 +01:00
Sebastian Markbage
c7d90e2b35
Ensure react-native-renderer package gets copied
2016-04-20 03:35:31 +01:00
Sebastian Markbage
22a8f9964e
Don't try to get the target node for responder if there is no listener
...
This can happen in edge cases where he listeners are already
unmounted or not mounted yet or something.
2016-04-20 03:35:31 +01:00
Sebastian Markbage
064092102d
Bump package versions
2016-04-20 03:35:31 +01:00
Sebastian Markbage
dc188dd521
Update ReactNativeDOMIDOperations to deal with a single parent node
...
This is the new protocol.
2016-04-20 03:35:31 +01:00
Sebastian Markbage
4fcdf02068
Listeners are not attached by ID in the API
...
...even though they technically still are attached by.
2016-04-20 03:35:31 +01:00
Sebastian Markbage
3287d93235
Build up a native component cache for event dispatching
...
Changes to event overloading structure
2016-04-20 03:35:31 +01:00
Sebastian Markbage
75cec60e48
Get rid of rootNodeIDs they're just tags now
2016-04-20 03:35:30 +01:00
Sebastian Markbage
97b079b364
Fix ReactNativeComponentEnvironment providesModule
...
This has a different file name from its providesModule. Screws up
our build scripts.
2016-04-20 03:35:30 +01:00
Sebastian Markbage
f8335168b6
Fix 0.15 compatibility
2016-04-20 03:35:30 +01:00
Sebastian Markbage
d8e8ea5cbb
Add test and mocks
...
Mock UIManager
Comment out dontMock that actually needs mocking
2016-04-20 03:35:30 +01:00
Sebastian Markbage
91e62c718b
Strip isomorphic stuff from the ReactNative module
...
Also, add a shim for the isomorphic module for ios and android so that
react-native doesn't pull in react-dom when React is required.
2016-04-20 03:35:30 +01:00
Sebastian Markbage
240dfae28c
Add React Native Modules to module map + fix fbjs
...
Our module rewrite whitelist needs to ignore providesModule files
that are going to be required from the global React Native
environment.
We also need to add ReactDOM to providesModule since we removed it
from React Native.
2016-04-20 03:35:30 +01:00
Sebastian Markbage
caa6abaecf
Build an dedicated npm package for react-native-renderer
2016-04-20 03:35:30 +01:00
Sebastian Markbage
8806463a66
Add Object Spread Support to Our Babel Config
...
Won't really use this in prod code yet but I have a benchmark that
uses it.
2016-04-20 03:35:30 +01:00
Sebastian Markbage
fe395def65
Move React Native platform files back
...
These files are really only related to the platform itself and not
the React integration so I'll move them back.
2016-04-20 03:35:30 +01:00
Sebastian Markbage
6c885d28c5
Remove duplicates and move files out of native/vendor
...
Moving the event plugins into their dedicated folder
Removing the ExecutionEnvironment override. I will just have to fix where needed. Probably related to the Chrome debugger?
2016-04-20 03:35:30 +01:00
Sebastian Markbage
f463b731ee
Copy files from the react-native repo
2016-04-20 03:35:30 +01:00
Adrian Sieber
8156ee0cab
Minor fixes ( #6527 )
...
* Fix typos in CHANGELOG.md
* Fix typos in 2014-11-24-react-js-conf-updates.md
2016-04-19 14:41:42 -07:00
Denis Laxalde
de7d1da997
Remove mention of deprecated ReactLink add-on ( #6535 )
2016-04-18 06:26:10 -07:00
hkal
dc6fc8cc07
Helper for escaping and unescpaing component keys ( #6500 )
...
- Abstract escaping
- Provide human readible same key warnings
2016-04-15 20:55:37 -07:00
Jim
a12aab10cb
Mention Enzyme on the test utils page. ( #6523 )
2016-04-15 16:20:43 -07:00
Jason Quense
045f1a791c
Only fire input value change events when the value changes ( #5746 )
...
* Only fire input value change events when the value changes
fixes #554 , fixes #1471 , fixes #2185 (still trying to figure out why)
* catch programmatic value changes
* move value tracking to seperate module
2016-04-15 14:37:26 -07:00
Ben Alpert
4016e71609
Merge pull request #6469 from keyanzhang/validate-foreignObject-children
...
Ensure validateDOMNesting catches nested body elements
2016-04-14 18:27:13 -07:00
Keyan Zhang
6cf77ef55e
Ensure validateDOMNesting catches nested body elements
2016-04-14 20:14:45 -04:00
Dan Abramov
6a93137f0e
Merge pull request #6516 from gaearon/ignore-dom-writes-outside-batch
...
Ignore DOM writes outside the batch in ReactPerf
2016-04-15 00:03:17 +01:00
Paul O’Shannessy
befb70e42f
Merge pull request #6519 from zpao/envdocsfixup
...
Cleanup environments doc
2016-04-14 14:44:25 -07:00
Paul O’Shannessy
bcad0a2973
Cleanup environments doc
...
- Use correct "Note" formatting so they render correctly
- reordered sections so Node is first
- Use "Node.js" consistently (it is a product name just like Nashorn)
- added/tweaked some of the text
- simplified the Java code so it doesn't hit the internet.
2016-04-14 14:17:44 -07:00
Dan Abramov
3b28602220
Ignore DOM writes outside the batch in ReactPerf
...
ReactDOMInput and a few other classes handle change event by scheduling updateWrapper() in an asap().
It gets executed after the batch, which confuses ReactPerf that expects all DOM writes to happen during a batch.
Since this implementation of ReactPerf relying on the stack is going away, let's plug the hole temporarily by ignoring DOM writes that occur during postponed updateWrapper(). In any case, they have no relation to actual calculations of wasted renders, as they don't occur due to updateComponent(), but rather due to onChange() special DOM behavior.
This fixes #5548
2016-04-14 20:57:44 +01:00
Jim
6a8c7518d3
Merge pull request #6510 from jimfb/ssr-environment-docs
...
Added docs for environment integration.
2016-04-14 12:27:59 -07:00
Jim
66bfee6543
Added docs for environment integration.
2016-04-14 12:25:17 -07:00
Dan Abramov
36e4fe54a8
Merge pull request #6215 from nhunzaker/nh-fix-disabled-inputs
...
Disabled inputs should not respond to clicks in IE
2016-04-14 19:40:21 +01:00
Dan Abramov
ae56910573
Merge pull request #6362 from gaearon/no-owner-in-test-utils
...
Elements from functional components in TestUtils should have no owner
2016-04-14 18:54:10 +01:00
Jim
0b1fd18685
Merge pull request #6462 from Wildhoney/master
...
Re-added support for attaching events to document fragments
2016-04-14 10:17:57 -07:00
Paul O’Shannessy
932334d3d4
Merge pull request #6504 from alexlur/patch-1
...
Replaces Array#map with Array#forEach
2016-04-13 10:43:13 -07:00
Alex
9d94d003a9
Replaces Array#map with Array#forEach
2016-04-13 17:11:08 +08:00
Jim
5785a418a2
Merge pull request #6148 from jimfb/node-package-manager
...
Create section on using React with package managers.
2016-04-12 22:33:47 -07:00
Jim
c01c46b88a
Create section on using React with package managers.
2016-04-12 12:39:49 -07:00
Nate Hunzaker
ec2c542f28
Flip conditional in DisabledInputUtils to cut hasOwnProperty calls
2016-04-08 19:47:40 -04:00
Nate Hunzaker
fc23239b67
Follow style conventions
2016-04-08 19:47:40 -04:00
Nate Hunzaker
0200946112
Move getNativeProps usage inline
2016-04-08 19:47:40 -04:00
Nate Hunzaker
fe739c2883
Disabled inputs should not respond to clicks in IE
...
This commit migrates over the disabled property behavior from
ReactDOMButton into a general purpose disabled event filter. It also
applies that behavior to inputs, selects, and textareas.
2016-04-08 19:47:40 -04:00
Dan Abramov
6c11bb65e1
Use the same changelog format as 15.0 post
2016-04-08 23:00:20 +01:00
Paul O’Shannessy
0a8f7329b4
Update react-linked-input
...
- Restores React dep to 15
- Bumps version to 1.0.1 for publishing
2016-04-08 14:53:37 -07:00
Paul O’Shannessy
dc0bea7a52
Fix extraneous markup in changelog
2016-04-08 14:41:20 -07:00
Paul O’Shannessy
44a0bd7478
Actually bump version on website
...
(cherry picked from commit d72885b383 )
2016-04-08 14:39:03 -07:00
Paul O’Shannessy
42c0d4199b
Update website for 15.0.1
...
(cherry picked from commit fd1476e3aa )
2016-04-08 14:39:03 -07:00
Paul O’Shannessy
a7e0da588a
15.0.1 blog post
...
(cherry picked from commit 142e4ebb57 )
2016-04-08 14:39:03 -07:00