Skip to content

aliyss/qsonforms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QSONForms (WIP)

Why

I initially started out with JSONForms and svelte. This was not a good match as I had to reimplement almost everything. I then moved on to qwik because of it’s fancy name. Using qwik-react with JSONForms worked, but I had some wierd issues I do not remember anymore. After that I continued with react-jsonschema-form and got pretty far with that until I wanted to dynamically modify the UiSchema. Since it does not support the same UiSchema Layout like JSONForms, I opted to build the thing myself.

I wanted to combine the flexibility of react-jsonschema-form with the UiSchema Layout of JSONForms and that’s where Modular Forms did most of the heavy lifting for a qwik implementation.

Heavily inspired by the following projects:

I especially want to thank Fabian Hiller for Modular Forms. I copied so much it’s not even funny. I am still working on removing everything that is not explicitly necessary from my repository, but I’d rather have it working qwik and dirty for my own purposes.

Usage

Qwik: packages/qwik

Vision

The key idea is to have dynamic forms. View controlled by data. JSON Schema is perfect for this. The UiSchema is more or less the same like with JSONForms, however for the Components I used a similar strategy like react-jsonschema-form does.

Moving away from Modular Forms

I do very much enjoy Modular Forms. However I want to only take what is necessary from it. Currently I copy pasted and adjusted as much as possible just to make it work. I will look into removing everything that is not necessary for the functionality of QSONForms.

Releases

No releases published

Packages

No packages published