Commit Graph

1349 Commits

Author SHA1 Message Date
Christopher Chedeau ff9ca2ecb2 Merge pull request #700 from syranide/100%autofocus
Patch missing autoFocus-support in older browsers
2013-12-27 17:47:24 -08:00
Christopher Chedeau f627bc52b0 Merge pull request #714 from syranide/escapekey
Escape component keys used in reactid
2013-12-27 17:14:16 -08:00
Christopher Chedeau 9f10bb4aca Merge pull request #729 from syranide/dragevent
Add SyntheticDragEvent with "dataTransfer" property
2013-12-27 17:12:00 -08:00
Andreas Svensson a6b888b214 Escape component keys used in reactid 2013-12-28 01:58:59 +01:00
Andreas Svensson 01b4b23118 Polyfill/normalize autoFocus across all browsers 2013-12-27 22:44:43 +01:00
Andreas Svensson 9e6456ba41 Add SyntheticDragEvent with "dataTransfer" property 2013-12-27 21:01:30 +01:00
Pete Hunt a4bb44f1e2 Merge pull request #728 from spicyj/gh-724
Allow changing transitionLeave from false to true
2013-12-27 10:59:22 -08:00
Pete Hunt fac676073a Merge pull request #722 from wincent/typo-fix-01
Fix a typo in the working-with-the-browser docs
2013-12-27 10:09:02 -08:00
Ben Alpert 5e6e332d67 Allow changing transitionLeave from false to true
Fixes #724.
2013-12-27 10:22:48 -07:00
Wincent Colaiuta 79b00591f1 Fix a typo in the working-with-the-browser docs 2013-12-26 22:22:00 -08:00
Paul O’Shannessy f877c6224f Merge pull request #695 from luigy/patch-1
Fix "Dynamic Children" example
2013-12-26 09:04:21 -08: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
Luigy Leon 814faed08f Fix "Dynamic Children" example 2013-12-22 10:37:09 -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