Andreas Svensson
411f0bd7c3
Fix npm react having wrong version dependency for envify
2013-12-26 18:12:23 +01:00
Pete Hunt
cc229eb749
Merge pull request #591 from spicyj/mount-key
...
Respect 'key' prop for object identity
2013-12-25 22:15:13 -08:00
Ben Alpert
633125fd0d
Use innerHTML not innerText in test
2013-12-25 22:47:10 -07:00
Ben Alpert
30f566392b
Extract out wrapUserProvidedKey for clarity
2013-12-25 22:32:43 -07:00
Ben Alpert
6fae670d19
Make shouldUpdateReactComponent key logic clearer
...
...and inline getComponentKey into traverseAllChildren.js.
2013-12-25 22:25:20 -07:00
Ben Alpert
b0431a51ca
Respect 'key' prop for object identity
...
Now when a `key` prop appears, its value is always honored. This means that in the root component or as an only child, changing key will cause remounting; in a `children` object, the `key` prop will be joined with the object key to form a two-part key.
Fixes #590 .
2013-12-25 22:24:10 -07:00
Christopher Chedeau
02e47ebd00
Merge pull request #713 from syranide/nokeytransfer
...
transferPropsTo should never transfer the "key" property
2013-12-25 20:46:30 -08:00
Andreas Svensson
374c9ba658
transferPropsTo should never transfer the key property
2013-12-26 00:12:22 +01:00
Pete Hunt
adff7c0238
Update README.md
2013-12-24 02:21:06 -05:00
Christopher Chedeau
7e0c6bc952
Merge pull request #705 from chenglou/rm-vid
...
docs remove video at the bottom
2013-12-23 22:44:00 -08:00
Cheng Lou
0519734ea5
docs remove video at the bottom
2013-12-24 01:42:45 -05:00
Pete Hunt
b385b580a6
Merge pull request #704 from vjeux/talks_doc
...
Add a talks section to the docs
2013-12-23 22:21:56 -08:00
Vjeux
91780d1c58
Add a talks section to the docs
2013-12-24 07:20:42 +01:00
Christopher Chedeau
a6d8c00b1a
Merge pull request #702 from syranide/lessmice
...
Removed unnecessary cleanup in isEventSupported
2013-12-23 19:30:16 -08:00
Pete Hunt
1070d12732
Merge pull request #701 from fabiomcosta/react-video-version-note
...
Note about react's version on the video talk
2013-12-23 16:54:33 -08:00
Pete Hunt
a8216e78b1
Merge pull request #703 from fabiomcosta/onscroll-doc-ie8-note
...
Adding note about onScroll on IE8
2013-12-23 16:46:52 -08:00
Fabio M. Costa
c211767d47
language update as suggested by @petehunt
2013-12-23 16:45:44 -08:00
Fabio M. Costa
34660eccf9
updating text as suggested by @petehunt
2013-12-23 16:41:41 -08:00
Fabio M. Costa
874122bad4
Adding note about onScroll on IE8
2013-12-23 16:40:41 -08:00
Andreas Svensson
63ca84e5af
Removed unnecessary cleanup in isEventSupported
2013-12-24 01:02:24 +01:00
Fabio M. Costa
d22874d039
Note about react's version on the talk, since somethings have already changed since then
2013-12-23 15:37:06 -08:00
Pete Hunt
128a35dff9
Merge pull request #642 from Cartas/master
...
ReactTransitionGroup can handle components being re-added before 'leave' transition has completed.
2013-12-23 15:36:28 -08:00
Timothy Yung
9e0987cd9b
Merge pull request #607 from syranide/html5key
...
Polyfill and normalize HTML5 "key", deprecates which and keyCode
2013-12-23 11:11:12 -08:00
Ben Newman
82a26ada65
Merge pull request #684 from syranide/ie8dangerousinnerhtml
...
Use feature detection and more robust recovering of whitespace for innerHTML in IE8.
2013-12-23 11:07:51 -08:00
Christopher Chedeau
9fa759173e
Merge pull request #699 from vjeux/fix_typo
...
typo
2013-12-23 09:53:53 -08:00
Vjeux
a31a8c35c2
typo
2013-12-23 18:45:53 +01:00
Christopher Chedeau
47f24f26aa
Merge pull request #698 from vjeux/fix_compiler
...
Fix html-jsx compiler
2013-12-23 09:31:19 -08:00
Vjeux
6bd9f35bf3
Fix html-jsx compiler
...
It changed React Playground to add a required props but unfortunately didn't update the call sites of the front-page. I don't think it should be required so I'm just making it optional and providing the correct default value.
Test Plan:
- Open the front page and make sure examples are working
- Open /react/jsx-compiler.html and make sure it is working
- Open /react/html-jsx.html and make sure it is working
2013-12-23 18:24:22 +01:00
Christopher Chedeau
590a5498ab
Merge pull request #686 from vjeux/community_12
...
Community Round-up #12
2013-12-23 09:04:03 -08:00
Vjeux
d1e955c37b
Community Round-up #12
2013-12-23 18:03:42 +01:00
Paul O’Shannessy
1783e54eb0
Merge pull request #692 from loganfynne/master
...
Added property attribute to non-standard attributes
2013-12-22 21:30:03 -08:00
Christopher Chedeau
0bbf535b7b
Merge pull request #411 from vjeux/diff_algorithm
...
Document the Diff algorithm
2013-12-22 11:36:26 -08:00
Andreas Svensson
1f2d57d6a4
Use feature detection and more robust recovering of whitespace for innerHTML in IE8
2013-12-22 20:30:59 +01:00
Vjeux
59f72bd991
Document the Diff algorithm
...
We often refer to it but never did actually explain it.
2013-12-22 20:09:02 +01:00
Ben Newman
9f3c4da588
Merge pull request #662 from benjamn/replace-envify
...
Upgrade envify to a version that uses recast.
2013-12-22 09:39:02 -08:00
Ben Newman
9da3f92853
Upgrade envify dependency to v1.0.1.
...
This version uses Recast for source transformation:
https://github.com/hughsk/envify/pull/4
2013-12-22 11:58:56 -05:00
Pete Hunt
c7fbaa4966
Merge pull request #691 from Daniel15/hackathon40-htmltojsx-master
...
Simple HTML to JSX converter
2013-12-22 00:07:15 -08:00
Logan Allen
ab88dd19d3
Added property to non-standard attributes
...
Fixes issue #655
2013-12-21 22:24:31 -05:00
Daniel Lo Nigro
eab1f4d366
Simple HTML to JSX converter, built during Hackathon 40 at Facebook.
...
See /react/html-jsx.html. Not directly linked from the site yet as there may still be some minor issues with it.
2013-12-21 17:44:38 -08:00
Mouad Debbar
d914522ae4
A new prop type for React Components
...
Since we can use props to pass React Components, we should have a better way of validating these props than just `object`. Having a prop type `component` will allow us to safely assume that the passed prop IS a component.
2013-12-20 18:13:21 -08:00
Tim Yung
3431e3f847
Add createMarkupForID
...
This is a follow-up the to previous commit and does two things:
- Moves `ReactMount.ATTR_NAME` to `DOMProperty.ID_ATTRIBUTE_NAME`.
- Adds `DOMPropertyOperations.createMarkupForID` and uses it.
2013-12-20 18:12:48 -08:00
Tim Yung
9d119577ea
Consolidate ID Attribute Markup Generation
...
We have this really nice method for safely creating markup for an HTML
attribute, `DOMPropertyOperations.createMarkupForProperty(...)`. Let's
use it to create the ID attribute markup, too.
2013-12-20 18:12:37 -08:00
Paul O’Shannessy
65e0970c41
Merge pull request #673 from quark-zju/fix-select-multiple
...
Some options cannot be selected alone in <select multiple />
2013-12-20 16:24:37 -08:00
Keito Uchiyama
03ab108a77
Change my canonical e-mail address in .mailmap
2013-12-20 13:59:53 -08:00
Jun, WU
3c5710193c
Fix a perf issue of <select multiple />
...
`indexOf` was used inside a loop. Use an object and
`hasOwnProperty` instead.
2013-12-21 01:04:31 +08:00
WU Jun
9a4a8aa71a
Do not automatically select other options
...
For <select multiple />, `value` is an array and should not be
converted to a string.
2013-12-21 01:04:31 +08:00
Cheng Lou
30672654c5
docs make all link start with /react/docs
2013-12-19 17:15:01 -05:00
Paul O’Shannessy
039124bd07
0.8 starter kit
2013-12-19 13:21:27 -08:00
Paul O’Shannessy
5c9f96d12f
v0.8 blog post
2013-12-19 13:21:27 -08:00
Paul O’Shannessy
2595cbc676
Update materials for 0.8.0
2013-12-19 13:21:27 -08:00