Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inversion of control to form reducer #19

Merged
merged 1 commit into from
Dec 5, 2019

Conversation

franciscomorais
Copy link
Contributor

This PR adds the inversion control to form reducer. This way, we can control all form state from outside.

@franciscomorais franciscomorais added the enhancement New feature or request label Dec 5, 2019
*/

const actionTypes = {
export const actionTypes = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need export this constant to create the reducer from outside. You agree?

@franciscomorais franciscomorais force-pushed the enhancement/form-reducer-inversion-control branch from d53c382 to c67db81 Compare December 5, 2019 14:46
@franciscomorais franciscomorais force-pushed the enhancement/form-reducer-inversion-control branch from c67db81 to 84851df Compare December 5, 2019 14:56
@bsonntag bsonntag changed the title Add inversion control to form reducer Add inversion of control to form reducer Dec 5, 2019
@bsonntag bsonntag merged commit 172f6ea into master Dec 5, 2019
@bsonntag bsonntag deleted the enhancement/form-reducer-inversion-control branch December 5, 2019 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants