ForbesLindesay/react-jade — pull request #17 by nw (2014-08-05 23:34:45+00:00)
Title: Runtime

This isn't fully ready but wanted some feedback.

The purpose is to decrease code size for client builds by moving shared code into a runtime much like jade. I opted to attach React into the runtime because the instance has a significant impact on your React app. Classes created in different context cannot be shared. This allows for sanity checking if conflicts occur because of module dependencies. It would also provide a bailout if you absolutely needed to change the React lib associated with the templates. I know most of this is largely mitigated with the `peerDependencies` but other packages aren't so friendly.

I tested with an export transform for webpack and have no problems. I need to investigate browserify but don't expect issues.

Client export needs to be resolved before landing.