availity-mobx-reactstrap-validation
v0.0.7
Published
Mobx wrapper lib around availity-reactstrap-validation
Downloads
137
Maintainers
Readme
availity-mobx-reactstrap-validation
Mobx wrapper lib around availity-reactstrap-validation
Use this lib instead of availity-reactstrap-validation
if your React project uses Mobx
Installation
Install availity-mobx-reactstrap-validation
via NPM
npm install --save availity-mobx-reactstrap-validation
If applicable, install a Promise
polyfill. For example:
npm install es6-promise --save
The polyfill can be applied into your web application by using tools like Webpack or Babel.
Import the components you need, example:
import { AvField } from 'availity-mobx-reactstrap-validation';
Documentation & Examples
See here:
But, rather than import from availity-reactstrap-validation
, import from availity-mobx-reactstrap-validation
Acknowledgements
This project simply wraps availity-reactstrap-validation components in observers
from mobx-react
to resolve conflicting shouldComponentUpdate()
methods when using React context with Mobx.
Disclaimer
Open source software components distributed or made available in the Availity Materials are licensed to Company under the terms of the applicable open source license agreements, which may be found in text files included in the Availity Materials.
License
Copyright (c) 2017 Availity, LLC