Giter VIP home page Giter VIP logo

autoform-next's Introduction

AutoForm next

AutoForm next is the newer redux-autoform API, it's a fully rewrite of redux-autoform. We've fully remove the metadata processor. Our API is more declarative now!

Benefits of AutoForm-Next over Redux-AutoForm?

Because it's a fully rewrite, we're working on making everything better. We want redux-autoform to provide a better experience on mobile-devices, avoid innecesary re-renders that produce lags, provide more ui-libraries, etc.

The autoform-next project benefits are the following ones:

  • Works with both react v15/v16 (If you've switched to react v16, you'll see a perf diff on mobile-devices)
  • Works on top of redux-form v6/v7 (This is a really good progress! Avoid re-render the form on every change!)
  • It has a newer way to use, we expose a declarative API, and also let you pass a json schema.
  • Provides i18n support through i18next and i18next-react.
  • It will provide a wider range of ui-libraries.
  • It will provide support for react-native!
  • Provides ErrorBoundary support! (Because you don't have to break your app anymore!)
  • Smaller bundle sizes! (Because size matters!)

How to get started?

For now, the project is in development. The first release will be achieved when the package of bootstrap 4 components is finished and some APIs in the core have a well coverage!

Anyway, if you want to test it, the steps are the following ones:

  • Fork the repository and clone it.
  • Enable yarn workspaces by editing .yarnrc file.
  • Go to the project root and run yarn install.
  • Then access autoform-core and run yarn build.
  • Then access autoform-ui-bootstrap4 and run yarn build.
  • After that go to the project root and remove node_modules
  • Run a yarn install at the project root.
  • Enter inside of example-web folder and run a yarn start.

If everything goes okay, you should see the app running and showing you a responsive form!

Issues

If you're testing the repository code and found any issue, please let me know!

License

This project will be distributed under MIT License.

autoform-next's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

autoform-next's Issues

Add boostrap-4 components

Current components implemented:

  • - TextInput
  • - TextArea
  • - CheckBox
  • - Select
  • - Group
  • - Button
  • - Form
  • - DatePicker
  • - TimePicker
  • - DateTimePicker
  • - ColorPicker
  • - FileUpload - Review styles of file upload
  • - RadioButton
  • - SearchInput
  • - NumberInput
  • - PasswordInput
  • - EmailInput
  • - SearchInput

Components to implement:

  • - ArrayContainer
  • - EntityContainer
  • - Lookup

Input props are not getting passed

By some reason the redux-form field props are not getting passed to the component. I have to review it. This seems to be related to the recently switch to Rollup builds.

Rollup - provide a development build

It would be good to provide a development version where you can visualize everything happening in the component hierarchy rendered by AutoForm.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.