jsonschema
react-jsonschema-form
Our great sponsors
jsonschema | react-jsonschema-form | |
---|---|---|
4 | 30 | |
4,411 | 13,562 | |
1.2% | 1.2% | |
8.8 | 9.1 | |
4 days ago | 5 days ago | |
Python | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jsonschema
-
Forced to move away from Django template because of nested forms ?
Forms are hard. We use python jsonschema to write our form schemas and validation and use react json schema form for the front end. It's a long time in the making and we still have to write widgets and extensions to get everything we need. Good luck.
-
I wrote okjson - A fast, simple, and pythonic JSON Schema Validator
I had a requirement to process and validate large payloads of JSON concurrently for a web service, initially I implemented it using jsonschema and fastjsonschema but I found the whole JSON Schema Specification to be confusing at times and on top of that wanted better performance. Albeit there are ways to compile/cache the schema, I wanted to move away from the schema specification so I wrote a validation library inspired by the design of tiangolo/sqlmodel (type hints) to solve this problem easier.
react-jsonschema-form
-
Framework Interoperable Component Libraries Using Lit Web Components.
I've been very passionate about a project called react-jsonschema-form (github, editor). I personally hate writing forms, and love the idea of serializable components, schema, validation all in one. I've always wanted an alternative to this project that offered an alternative to react, and possibly the ability to render a schema form to static HTML (like ssg).
-
6 Reasons why JSON Schema is worth your time
See their playground app for examples of creating schema driven forms in no time.
Sometimes you might know the data you want to collect, but you need to create a UI to facilitate collecting it. By starting with a JSON schema you can use React JSON schema Form (Rjsf) to automatically generate forms with prebuilt client and server-side validation against the provided schema.
-
Can I build single-page apps with core, like react pages without refreshing the site?
For example, I had a requirement for my team recently to be able to build dynamic form UIs, based off a JSON schema. There are heaps of javscript frameworks for this task e.g. react-jsonschema-form, but nothing in nuget or Blazor is going to help there. So you'd have to write all the logic yourself.
-
Why do React frameworks not have testing as a first class concern in their documentation?
React-json-schema form has plenty of tests, using... it looks like react-dom/test-utils
-
Show HN: A Database Generator for EVM with CRUD and On-Chain Indexing
https://github.com/rjsf-team/react-jsonschema-form
YAML-LD (application/ld+yaml) round-trips to JSON-LD (application/ld+json) which round trips to RDF; so W3C Linked Data Signatures / W3C Verified Claims cryptographic signatures verify regardless of graph representation.
YAML-LD > 3.1 JSON vs YAML comparison: https://json-ld.github.io/yaml-ld/spec/#json-vs-yaml
-
Server Sent UI Schema Driven UIs
React Json Schema Form: https://github.com/rjsf-team/react-jsonschema-form
-
How I made my first successful open-source project
The most popular package it is being used in currently is react-jsonschema-form, which currently has 11,876 stars on GitHub
-
Are you building custom input components or build them from scratch in every project?
When I used react I used react-jsonschema-form which was awesome. Instead of writing inputs and forms I wrote the shape of that form in schema (or better yet, had my server send the shape of the form from the endpoint so that the front end required no coding). Unfortunately the vue equivalents never got ported to vue3 (and seem abandoned), so I wrote my own. Now I write stuff like:
-
Formik sucks, is there a decent lib or the best way is to build your own forms?
React Json Schema Form Is good for creating plain forms from a JSON Schema spec.
What are some alternatives?
JSONForms - Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.
react-hook-form - π React Hooks for form state management and validation (Web + React Native)
formik - Build forms in React, without the tears π [Moved to: https://github.com/jaredpalmer/formik]
Cerberus - Lightweight, extensible data validation library for Python
schema - Schema validation just got Pythonic
voluptuous - CONTRIBUTIONS ONLY: Voluptuous, despite the name, is a Python data validation library.
SurveyJS - Free Open-Source JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout that lets you load and run multiple web forms, or build your own self-hosted form management system, retaining all sensitive data on your servers. You have total freedom of choice as to the backend, because any server + database combination is fully compatible.
formily - π±π 𧩠Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
Schematics - Python Data Structures for Humansβ’.
react-final-form - π High performance subscription-based form state management for React
redux-form - A Higher Order Component using react-redux to keep form state in a Redux store
winterfell - Generate complex, validated and extendable JSON-based forms in React.