Commit Graph
1358 Commits
Author SHA1 Message Date
Cheng Lou 8f5ef0fdf2 docs add warning to add jsx pragma 2013-12-28 23:04:34 -05:00
Christopher Chedeau 84cacaf5b6 Merge pull request #717 from syranide/testkeytransfer
Add unit test for transferPropsTo, "key" should never transfer
2013-12-27 18:54:56 -08:00
Christopher Chedeau 72fd24662e Merge pull request #716 from bitshadow/hotfix
Issue #383 : Error message for using refs outside of render() is difficult to underst...
2013-12-27 18:53:36 -08:00
Christopher Chedeau fdf64919f3 Merge pull request #730 from syranide/lint80
Added max line length = 80 for jshint
2013-12-27 17:59:45 -08:00
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 cbd6d8a46c Added max line length = 80 for jshint 2013-12-28 01:49:04 +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
Andreas Svensson f9947dec2a Add unit test for transferPropsTo, "key" should never transfer 2013-12-26 16:42:39 +01:00
Jignesh Kakadiya e35f4c29bb fix params 2013-12-26 12:29:01 +05:30
Jignesh Kakadiya ecf9f8ef6d Adjust params 2013-12-26 12:17:36 +05:30
Jignesh Kakadiya 2b0dc71e3d Error message for using refs outside of render() is difficult to understand 2013-12-26 12:00:19 +05:30
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