0.11.0 • Published 4 years ago

react-next-form v0.11.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

React Next Form

React primitives to quickly build complex form behaviors

npm npm bundle size

Install

yarn add -E react-next-form immer

Contribute

Install dependencies

npm install # or yarn

If you are making changes to the documentation site, install docs dependencies:

cd docs; npm install # or cd docs; yarn

Commit messages

Based on the contribution, format your commit message this way so that the version is correctly bumped:

  • If the contribution is a breaking change, put BREAKING CHANGE or major somewhere in your commit.
  • If the contribution is a new feature format your message like this "feat: added this new cool stuff". You can also use minor or feature
  • All other changes will increment the patch version

In case you might want to skip version bumping just add [skip ci] to your commit.

Publishing to NPM

To publish a new version to npm, just create a Github release. Once you create the release a Github workflow will take care of the publishing process.

Commands

The recommended workflow is to run TSDX in one terminal:

npm start # or yarn start

This builds to /dist and runs the project in watch mode so any edits you save inside src causes a rebuild to /dist.

To do a one-off build, use npm run build or yarn build.

To run tests, use npm test or yarn test.

To run docs use npm run docs or yarn docs.

Optimizations

Please see the main tsdx optimizations docs. In particular, know that you can take advantage of development-only optimizations:

// ./types/index.d.ts
declare var __DEV__: boolean;

// inside your code...
if (__DEV__) {
  console.log("foo");
}

You can also choose to install and use invariant and warning functions.

Documentation

The documentation website is on the documentation branch. To deploy a new version of the website, simply push to that branch, or merge a pull request to that branch.

0.11.0

4 years ago

0.10.4

4 years ago

0.10.3

4 years ago

0.10.1

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.5.4

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago