Commit Graph

12 Commits

Author SHA1 Message Date
Paul O’Shannessy 58d62989bd Move version to standalone module in preparation for reuse 2015-09-08 10:18:41 -07:00
Paul O’Shannessy 79561342c3 Build standalone react-addons packages 2015-06-21 20:01:21 +08:00
Paul O’Shannessy 12c9fee94e Move npm packages into folder 2015-06-17 12:01:44 -07:00
Paul O’Shannessy 3bae8f5f35 Build react-dom package 2015-06-15 11:01:39 -07:00
Sebastian Markbage 0b063f8a09 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
Ben Alpert 8fa15080b2 Revert "Warn when multiple instances of React are loaded on the same page" 2015-04-10 12:34:04 -07:00
Robert Knight 8ad58ae45a Warn when multiple instances of React are loaded on the same page
This causes a variety of hard-to-debug issues.
See #2402 for examples.

Fixes #2402
2015-04-03 11:46:58 +01:00
Dennis Johnson 5216460246 Fix version typo in grunt task 2014-12-20 12:29:06 -07:00
Paul O’Shannessy 1d27770b40 Fix verion-check to look in right place for React.js 2014-03-03 15:35:10 -08:00
Paul O’Shannessy 2435b66840 Fix version check test 2014-02-04 19:49:58 -08:00
Paul O’Shannessy 8fda127748 Check src file for version-check task
This lets the task run stand-alone without building
2013-12-11 17:06:06 -08:00
Paul O’Shannessy 54bac2f07f Move version-check task into own file
Gruntfile.js is really messy :(
2013-12-11 17:01:18 -08:00