Commit Graph
4403 Commits
Author SHA1 Message Date
Shim Won cde415d6bf Update Korean Translation to b7f0fe1 2015-05-16 21:49:04 +09:00
Sebastian Markbåge b7f0fe1b36 Merge pull request #3866 from sebmarkbage/coreapi
Reorganize Src Directory for Isomorphic React Package
2015-05-15 18:39:36 -07:00
Sebastian Markbage 96cb5cc888 Reorganize Src Files for Isomorphic React Package
The new folder structure is organized around major packages that are expected to ship separately in some form.

`/isomorphic`

I moved classic/modern and children utils into a directory called "isomorphic" with the main export being ReactIsomorphic. This will eventually become the "react" package.

This includes all the dependencies that you might need to create a component without dependencies on the renderer/reconciler.

The rest moves into decoupled renderers.

`/renderers/dom/client` - This is the main renderer for DOM.

`/renderers/dom/server` - This is the server-side renderer for HTML strings.

`/addons` and `/test` - Same as before for now.

You're not supposed to take on a dependency inside another package.

Shared code is organized into a "shared" directory which is intended to support all the packages in that subdirectory. Meaning that once we swap to CommonJS modules, the only time you should use `..` is to target `../shared/` or `../../shared`.

E.g. `/shared/` is common utils that are used by everything.

`/renderers/shared/` is code that is shared by all renderers, such as the main reconciliation algorithm.

Shared code will likely be copied into each package rather than referenced. This allow us to have separate state and allow inlining and deadcode elimination.
2015-05-15 18:35:22 -07:00
Paul O’Shannessy bb4da17469 Merge pull request #3746 from chrisgrovers/patch-1
Fixed Formatting.
2015-05-15 18:09:44 -07:00
Paul O’Shannessy 778ac8b0d1 Merge pull request #3874 from bhamodi/patch-1
Update CONTRIBUTING.md
2015-05-15 18:08:00 -07:00
Paul O’Shannessy efb37a012f Merge pull request #3881 from ef718/docs-grammar
Fix punctuation and grammar
2015-05-15 17:57:36 -07:00
Paul O’Shannessy 51d7d9d84e Followup to #3852, use https 2015-05-15 17:51:57 -07:00
Ben Alpert bf2ec3b684 Merge pull request #3882 from wali-s/get-html5-minlength-working
Get HTML5 minlength working.
2015-05-15 15:51:14 -07:00
wali-s 653593591c Get HTML5 minlength working.
Adding minLength=X to an input element would not work, whereas maxLength=X would work.

This change gets minLength=X working.
2015-05-15 15:47:15 -07:00
Ben Alpert 82a36ad1bb Merge pull request #3847 from bloodyowl/option-flatten-children
<option> added children flatten, & warn if invalid
2015-05-14 10:36:27 -07:00
Ben Alpert 242773b40e Merge pull request #3719 from spicyj/vdn2
Add more context to DOM nesting warning
2015-05-14 10:33:21 -07:00
Ben Alpert bc06a1bf07 Merge pull request #3651 from spicyj/tac-noi
Don't thread index through traverseAllChildren
2015-05-14 10:32:49 -07:00
Elaine Fang 7404bd4dd4 Add punctuation 2015-05-14 13:15:06 -04:00
Matthias Le Brun a13b019c2b <option> added children flatten, & warn if invalid 2015-05-14 12:44:04 +02:00
Baraa Hamodi 0638cfea95 Update CONTRIBUTING.md
Make the contributing sentence make a little bit more sense.
2015-05-13 23:17:31 -07:00
Ben Alpert 91963a978d Merge pull request #3872 from spicyj/nested-num
Split message for deep numeric key warning too
2015-05-13 15:32:13 -07:00
Paul O’Shannessy 0cf52825e9 Merge pull request #3869 from zpao/jsx-cleanup
JSX -> Babel cleanup
2015-05-13 15:31:48 -07:00
Paul O’Shannessy 19bfd9b6af Use Babel to transform JS in docs, update other calls 2015-05-13 15:26:23 -07:00
Ben Alpert 9fe8d5da85 Split message for deep numeric key warning too 2015-05-13 15:23:29 -07:00
Ben Alpert 684d10a0ef Merge pull request #3871 from spicyj/group
Deprecate reactjs Google Group
2015-05-13 15:16:51 -07:00
Ben Alpert 5b13399522 Deprecate reactjs Google Group 2015-05-13 15:16:33 -07:00
Ben Alpert 354699c1b2 Merge pull request #3870 from spicyj/gh-3865
Clarify ReactElement prop validation message
2015-05-13 15:14:00 -07:00
Ben Alpert 7b7d235999 Clarify ReactElement prop validation message
Fixes #3865.
2015-05-13 12:37:54 -07:00
Ben Alpert ccd468b131 Merge pull request #3861 from spicyj/nested-v
Split out warning message for nested key warning
2015-05-13 11:51:11 -07:00
Paul O’Shannessy 86a098108c Merge pull request #3864 from cvrebert/patch-1
bower.json: remove moot `version` field
2015-05-13 11:12:10 -07:00
Paul O’Shannessy 85062b0821 [docs] Move pre-compiled JS files 2015-05-13 10:57:47 -07:00
Paul O’Shannessy 0f73eedd56 Don't run non-existant fbtransform tests 2015-05-13 10:52:51 -07:00
Chris Rebert e8646b0fdf bower.json: remove moot version field
Per https://github.com/bower/bower.json-spec/commit/a325da3d79baab018c572d75dc1781b12322f6cd
2015-05-12 22:31:18 -07:00
Ben Alpert dca88fe5b2 Split out warning message for nested key warning
Also make sure to mark child array as validated in cloneElement as well.
2015-05-12 16:33:04 -07:00
Ben Alpert acc6752087 Merge pull request #3857 from spicyj/dev-rckv
Set _reactChildKeysValidated in dev mode only
2015-05-11 17:06:18 -07:00
Ben Alpert 8330ef7aa4 Set _reactChildKeysValidated in dev mode only 2015-05-11 17:02:49 -07:00
Jim be3af694e9 Merge pull request #3856 from chaseadamsio/chaseadamsio-patch-1
Change object typo to objects
2015-05-11 13:56:58 -07:00
Chase Adams 8c333b51ba Change object typo to objects 2015-05-11 13:29:14 -07:00
Paul O’Shannessy 384631b8b8 Merge pull request #3834 from chicoxyzzy/remove_jslint
remove jslint comments
2015-05-10 22:52:57 -07:00
Paul O’Shannessy 199bc232eb Merge pull request #3837 from davidneat/transition-group-appear-high-level-docs
Added transitionAppear docs
2015-05-10 22:51:46 -07:00
Paul O’Shannessy 3e4dabba45 0.14.0-alpha1 2015-05-10 22:36:50 -07:00
Paul O’Shannessy fa9b0d71aa Fix esprima-fb dependency 2015-05-10 22:25:08 -07:00
Ben Alpert 6343fe6324 Merge pull request #3852 from thewarpaint/patch-1
Add Wikipedia link to Cross-site scripting article on "XSS attack" string
2015-05-10 13:28:10 -07:00
Eduardo Garcia 0318734d1b Add Wikipedia link to Cross-site scripting on "XSS attack" string 2015-05-10 15:22:12 -05:00
Ben Alpert b31ffde14b Merge pull request #3841 from spicyj/yolo
Preserve prototype with replaceState
2015-05-08 13:16:43 -07:00
Ben Alpert 0732263818 Preserve prototype with replaceState
Fixes #3418.
2015-05-08 13:11:18 -07:00
David Neubauer 618059bccd added animate initial mounting section to animation docs 2015-05-08 20:31:11 +02:00
Paul O’Shannessy ef451eb6b4 Follow-up to follow-up to #3718
Cleaned up a few more ununsed things.
2015-05-07 17:29:31 -07:00
Paul O’Shannessy 2f6e5c30d6 Merge pull request #3835 from zpao/fix-keys-keys-keys-test
Followup to #3758 so we actually test things
2015-05-07 17:15:11 -07:00
Paul O’Shannessy 1896bb5b92 Followup to #3758 so we actually test things 2015-05-07 17:10:51 -07:00
chico cf19e5d045 remove jslint comments 2015-05-08 03:05:51 +03:00
Paul O’Shannessy 3d7a306f89 Merge pull request #3831 from MadLittleMods/tab-size-unit-less
Add support for unitless tabSize/tab-size
2015-05-07 13:09:17 -07:00
Eric Eastwood 2c91882e1f Add support for unitless tabSize/tab-size 2015-05-07 13:51:15 -05:00
Paul O’Shannessy 8d8f08f49a Merge pull request #3828 from chicoxyzzy/patch-1
add a badge with latest npm package published
2015-05-07 11:29:16 -07:00
Paul O’Shannessy daa2296a01 Merge pull request #3829 from murashki/ReactMultiChildText-test.js-__html-typo
ReactMultiChildText-test.js fix __html typo
2015-05-07 10:34:08 -07:00