GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
The cleaned-up final commits for the progress described in Practical Redux Part 7 - Form Change Handling, Data Editing, and Feature Reducers
Clear out existing models on load to avoid conflicts when reloading data
Convert PilotDetails to a class component
Add FormEditWrapper component
Rework PilotDetails form layout for consistency
Changed gunnery and piloting fields to be dropdowns
Rendered all form fields using the Form.Field shorthand syntax
Use FormEditWrapper with UnitInfo name input
Update root reducer to wrap around combined reducer
Add createConditionalSliceReducer utility
Add a "entity feature reducer" and a generic "entity update reducer"
Hook up editing of pilot name field
Hook up Pilot "rank" dropdown
Use more generic onChange handlers for PilotDetails dropdowns and inputs
Use FormEditWrapper to buffer changes from Pilot inputs