wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
13.63k stars 1.18k forks source link

Add top-lvl support in Wasp for forms. #117

Open Martinsos opened 3 years ago

Martinsos commented 3 years ago

Defining forms is often painful and boilerplatish, and on the other hands it is mostly declarative, so it makes a lot of sense to have direct support for forms in Wasp, in declarative fashion.

We were already experimenting somewhat with it before, so it might be worth taking a look at that code for inspiration.

There are two levels to this:

  1. Defining any form.
  2. Defining forms for editing entity.

Both are good candidates as Wasp features. This certainly needs more investigation.

Martinsos commented 1 year ago

Potentially interesting: https://github.com/iway1/react-ts-form -> library for reducing boilerplate when doing forms in React.