Libraries and Hooks for Lore that simplify the process of creating Forms and Dialogs.
This repo is a work in-progress. It's currently "settling" but still a bit volatile. I recommend you ignore it for now.
Forms and dialogs are a core component in most applications that allow users to enter data. Lore's primary mission is simplify every aspect of front-end web application development that isn't connected to component creation, user flows and branding.
In practice, the framework greatly simplifies the process of communicating with APIs and caching data, but the creation of forms and dialogs is still a comparatively slow and fragile process.
This repo is intended to house a set of React-centric libraries that make it simple to build and manage complex forms, as well as hooks that are specific to Lore that remove the boilerplate associated with form and dialog creation.
There is not currently any documentation for this repo outside of the in-flux examples.
If you have any questions, feel free to create an issue. If you'd rather discuss over chat, there is a Lore Slack Team which you can join using this link.
Since Lore Forms is still in active development, I'm going to list the things that have immediate focus here.
- [done-ish, needs polish] Create
lore-react-forms
library for generic form components - [done-ish, needs polish] Create
lore-react-forms-bootstrap
, an implementation oflore-react-forms
with Bootstrap components - [done-ish, needs polish] Create
lore-react-forms-material-ui
, an implementation oflore-react-forms
with Material UI components - [done-ish, needs polish] Create
lore-hook-forms-bootstrap
, a hook to automatically generate Bootstrap forms based on a model config - [done-ish, needs polish] Create
lore-hook-forms-material-ui
, a hook to automatically generate Material UI forms based on a model config - [done-ish, needs polish] Create
examples/forms-bootstrap
to demonstrate usage oflore-react-forms
,lore-react-forms-bootstrap
, andlore-hook-forms-bootstrap
- [done-ish, needs polish] Create
examples/forms-material-ui
to demonstrate usage oflore-react-forms
,lore-react-forms-material-ui
, andlore-hook-forms-material-ui
- Refactor
lore-hook-dialogs-bootstrap
andlore-hook-dialogs-material-ui
to consume their respectivelore-react-forms-*
library to support complex field creation, validation, and more flexible dialogs (like wizards) - Publish
lore-forms
Todo.