By default, newforms will be in development mode. To use it in production mode, set the environment variable NODE_ENV to 'production' when bundling. To completely remove all development mode code, use a minifier that performs dead-code elimination, such as UglifyJS .

Newforms can be used on the server, or bundled for the client using an npm-compatible packaging system such as Browserify or webpack .

The browser bundles expose newforms as a global forms variable and expects to find a global React variable to work with.

The uncompressed bundle is in development mode, so will log warnings about potential mistakes.

You can find it in the dist/ directory.