# @reactjsf/core

> A simple React component capable of building HTML forms out of a JSON schema.

Latest version **0.1.117** (published 2020-04-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @reactjsf/core
pnpm add @reactjsf/core
yarn add @reactjsf/core
bun add @reactjsf/core
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.117 |
| Published | 2020-04-12 |
| First published | 2020-04-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 2 |
| Unpacked size | 132.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Haydar Rıdvan TEMEL |
| Maintainers | hrtemel |
| Keywords | react, react-native, form, json-schema, material-ui, fabric-ui, ant-design, bootstrap |

## Links

- npm: https://www.npmjs.com/package/@reactjsf/core
- Repository: https://github.com/hrtemel/reactjsf-core
- Homepage: https://github.com/hrtemel/reactjsf-core#readme
- Issues: https://github.com/hrtemel/reactjsf-core/issues
- npm.io page: https://npm.io/package/@reactjsf/core

## Dependencies (2)

- [ajv](https://npm.io/package/ajv.md) ^6.0.0
- [json-schema-merge-allof](https://npm.io/package/json-schema-merge-allof.md) ^0.7.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.117 (latest) — 2020-04-12

## README

# ReactJsf

A simple [React](http://facebook.github.io/react/) component capable of building HTML forms out of a [JSON schema](http://json-schema.org/). Based on and initially forked from [react-jsonschema-form](https://github.com/mozilla-services/react-jsonschema-form)

## Motivation

[react-jsonschema-form](https://github.com/mozilla-services/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](https://github.com/mozilla-services/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

  

| Project |Platforms|Type|Definition|
|-|-|-|-|
|@reactjsf/core|react,react-native|Core||
|@reactjsf/antd|react|Widget|Ant Design Widget Set|
|@reactjsf/bootstrap|react|Widget|Bootstrap Widget Set|
|@reactjsf/fabric-ui|react|Widget|Fabric Ui Widget Set|
|@reactjsf/material-ui|react|Widget|Material Ui Widget Set|
|@rjsf-ce/demo|react|Demo|Ant 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](https://mozilla-services.github.io/react-jsonschema-form/) is hosted on gh-pages.

## License

MIT

---
_Source: https://npm.io/package/@reactjsf/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
