Background

Like everybody in the “React world”, I heavily used redux-form on my current company big SPA, even after the migration from REST API to GraphQL API.

We were using a custom form framework that :

generate a redux-form based on a JSON-based description of fields

based on a JSON-based description of fields validate data against a custom validation API endpoint

call a user-defined callback for saving data

⠀

⠀

⠀

⠀

⠀

Example of code for the User form: