distilagency / starward

:boom: ReactJS Wordpress Boilerplate
27 stars 9 forks source link

Revamp Gravity Forms #103

Open falconmick opened 6 years ago

falconmick commented 6 years ago

To be done after Apollo GraphQL PR

Issues with current forms:

A. Don't support custom/advanced fields (i.e. Name, you can configure to ask for First, Last, Middle, etc) B. Field implementation are not flexible enough. Currently I see myself and Mark having to re-write the Field implementations to match how we like our form element structure to look. A better solution would be a smart component that orchestrated a dumb component via render props. That way we could follow the pattern shown here in which you have your Form (