0.1.117 • Published 4 years ago

@reactjsf/core v0.1.117

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

ReactJsf

A simple React component capable of building HTML forms out of a JSON schema. Based on and initially forked from react-jsonschema-form

Motivation

react-jsonschema-form was one of my favorite project in github.

But it has:

  • Bootstrap Dependency: This type of libraries must be usefull for all developers. ( Not only bootstrap developers)

  • HTML Dependency: For cross platfrom development needs, HTML tags must be removed from project.

  • Too Complext Code: Since bussiness logic and view codes are blended in project, it is nearly impossible to add another view library support

  • Readonly Support: This library must also be usable for data view, not only a form library.

What is ReactJSF?

  • Simply a json-schema implementation on javascript, react or react-native.

  • Initially forked from react-jsonschema-form

Changes from forked project

  • Components and json-schema logic seperated each other

  • All bootstrap dependencies removed

  • All html dependencies removed (Now project runs in react-native also)

  • All backward compabilities removed (React <16.9 is not supported)

  • Seperated into multi project

  • All HOC's removed (It's now has a clean Virtual-DOM)

  • Widget fall down methodology added. (If widget is not found, automatically switch to most possible alternative)

  • Readonly attributes added,(Now you can show form in view mode also)

  • Ui Shema removed: Instead of uiSchema ui, uiDefault namespaces added to original json schema.

  • Array Template, Object Template, ... removed. Pure widgets used to view data.

  • Table view added

Projects

ProjectPlatformsTypeDefinition
@reactjsf/corereact,react-nativeCore
@reactjsf/antdreactWidgetAnt Design Widget Set
@reactjsf/bootstrapreactWidgetBootstrap Widget Set
@reactjsf/fabric-uireactWidgetFabric Ui Widget Set
@reactjsf/material-uireactWidgetMaterial Ui Widget Set
@rjsf-ce/demoreactDemoAnt Design, Material Ui, Bootstrap, Fabric Ui, Demo Application

React-Native Projects

Not implemented yet.

Live Playground

Not implemented yet.

You can check forked projects live playground is hosted on gh-pages.

License

MIT