GithubHelp home page GithubHelp logo

doc22940 / redux-form-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redux-form/redux-form-examples

0.0 2.0 0.0 1.93 MB

redux-form examples

JavaScript 66.54% HTML 33.18% Shell 0.28%

redux-form-examples's Introduction

Examples

Below are a list of examples that demonstrate the capabilities of redux-form for testing and learning purposes.

Each example is its own standalone web app with hot reloading. To prepare for running the examples locally, clone the redux-form repository and run npm install to install the necessary dependencies for redux-form. Then you can run the examples locally using either two methods:

  1. Run npm run example:EXAMPLE_FOLDER (Remember to replace EXAMPLE_FOLDER with the name of the folder for the example you want to run like npm run example:simple or npm run example:material-ui)

  2. Manually run the following commands:

# Remember to replace EXAMPLE_FOLDER with the name of the example's folder
cd ./examples/EXAMPLE_FOLDER
npm install
npm start

After following either of these methods, open localhost:3030 in your browser to view the example running locally on your machine.


Simple Form

The simplest form. Demonstrates how to attach standard inputs to Redux.


Synchronous Validation

How to add synchronous client-side validation to your form.


Field-Level Validation

How to add field-level client-side validation to your form.


Submit Validation

How to return server-side validation errors back from your submit function.


Asynchronous Blur Validation

How to run asynchronous server-side onBlur validation on your form when certain fields lose focus.


Asynchronous Change Validation

How to run asynchronous server-side onChange validation on your form when certain fields change.


Initializing From State

How to initialize your form data from any slice of the Redux state.


Field Arrays

How to create and manipulate arrays of fields.


Remote Submit

How to use submit your form via a dispatched Redux action.


Normalizing

How to use normalize your form values.


Immutable JS

How to use Immutable JS for redux-form state storage.


Selecting Form Values

How to bind certain form values as props to your entire form component.


Wizard Form

How to create a multi-page "wizard" form.


Material-UI Examples

Contains multiple Material-UI examples


React-Widgets Examples

How to use react-widgets components with redux-form


redux-form-examples's People

Contributors

abrad45 avatar asaayers avatar bwendt-mylo avatar dalerasrorov avatar davidfurlong avatar davincho avatar dependabot[bot] avatar dubes avatar empact avatar erikras avatar fabriziomoscon avatar fredrikolovsson avatar gitname avatar gpbl avatar gustavohenke avatar hnakamur avatar iamandrewluca avatar json2d avatar kevinzwhuang avatar kristofferh avatar lagunaisw avatar lewiscowper avatar mihirsoni avatar minishlink avatar nexts avatar ooflorent avatar oyeanuj avatar restlessdesign avatar strato avatar timhwang21 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.