Skip to content

stoykostanchev/react-state-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEMO

Go here to see the project running

State and Form data separation - independent interpretation

This code follows a post by Dan Hood on separating the state of an app from any potential form data that is to be extracted from the state

Getting Started

Prerequisites

The code is written and tested for node v11.0.0 Clone this repository and go to it's root

Installing

npm install

Running the project

npm start

How to read this repo

The base code can be found in the /src folder. Comments on the particular text of the post will be put in comments initially, and later on summarized in a dedicated readme

Useful

Initial version scaffold taken from the tutorials by running npx create-react-app react-state-form

Inspiration taken from the react shopping cart example

Notes

TS and Flow fight each other. Had to disable TS / JS lang features

Installed flow

Downgraded from Node v13.0.0 after the build stopped working due to an eslint regex inside node_modules containing invalid flags

TODO

See a small chunk of things that would be on the roadmap

About

React - Redux - Flow - Immutable.js - Form

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published