Material UI components for lore-react-forms


Keywords
react, forms, material-ui, lore-react-forms
License
MIT
Install
npm install lore-react-forms-material-ui@0.13.0

Documentation

lore-forms

Build Status Slack Status

Libraries and Hooks for Lore that simplify the process of creating Forms and Dialogs.

Work in Progress!

This repo is a work in-progress. It's currently "settling" but still a bit volatile. I recommend you ignore it for now.

Purpose

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.

Documentation

There is not currently any documentation for this repo outside of the in-flux examples.

Discussion

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.

Near-term Focus

Since Lore Forms is still in active development, I'm going to list the things that have immediate focus here.

  1. [done-ish, needs polish] Create lore-react-forms library for generic form components
  2. [done-ish, needs polish] Create lore-react-forms-bootstrap, an implementation of lore-react-forms with Bootstrap components
  3. [done-ish, needs polish] Create lore-react-forms-material-ui, an implementation of lore-react-forms with Material UI components
  4. [done-ish, needs polish] Create lore-hook-forms-bootstrap, a hook to automatically generate Bootstrap forms based on a model config
  5. [done-ish, needs polish] Create lore-hook-forms-material-ui, a hook to automatically generate Material UI forms based on a model config
  6. [done-ish, needs polish] Create examples/forms-bootstrap to demonstrate usage of lore-react-forms, lore-react-forms-bootstrap, and lore-hook-forms-bootstrap
  7. [done-ish, needs polish] Create examples/forms-material-ui to demonstrate usage of lore-react-forms, lore-react-forms-material-ui, and lore-hook-forms-material-ui
  8. Refactor lore-hook-dialogs-bootstrap and lore-hook-dialogs-material-ui to consume their respective lore-react-forms-* library to support complex field creation, validation, and more flexible dialogs (like wizards)
  9. Publish lore-forms

Thanks

Todo.