How to use the reactive-mobx-form.FormStore function in reactive-mobx-form

To help you get started, we’ve selected a few reactive-mobx-form examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vict-shevchenko / reactive-mobx-form / src / index.jsx View on Github external
import React from 'react';
import { Provider } from 'mobx-react';
import { render } from 'react-dom';
// import { AppContainer } from 'react-hot-loader';
import AppState from './AppState';
import App from './App';

import { FormStore, configureValidator } from 'reactive-mobx-form';

const appState = new AppState();
const formStore = new FormStore();

configureValidator({
	language: 'ru'
});

render(
      (
          
      )
, document.getElementById('root')
);

/* if (module.hot) {
  module.hot.accept('./App', () => {
    const NextApp = require('./App').default;
github vict-shevchenko / reactive-mobx-form / src / entry.tsx View on Github external
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { HashRouter } from 'react-router-dom'
import { Provider } from 'mobx-react';

import { FormStore } from 'reactive-mobx-form';
import App from './scripts/App';


const formStore = new FormStore();

ReactDOM.render(
	
		
			
		
	,
	document.getElementById('root')
);

reactive-mobx-form

Reactive forms for React running on MobX

MIT
Latest version published 3 years ago

Package Health Score

42 / 100
Full package analysis