duan602728596 / antd-schema-form

Based on Ant Design, interactive forms can be generated through JSON Schema configuration. - 基于Ant Design,可以通过JSON Schema配置生成可交互的表单。
https://duan602728596.github.io/antd-schema-form/#/
MIT License
170 stars 28 forks source link

Can we do this together? #10

Open videni opened 5 years ago

videni commented 5 years ago

There is another similar repo antd-jsonschema-form which follows react-jsonschema-form approach. we all are interested in json form schema based on Antd. I suggest I do this together. your library has some drawbacks.

  1. $id is provided manually. this is not necessary. we can follow react-jsonschema-form ways.
  2. JSON schema is bound to the widget component itself, it is best to separate schema resolving logic to widget component like react-jsonschema-form does.
  3. It is best to keep close to JSON schema form standard as possible, but still keep it simple.
  4. The whole architecture is not flexible enough to customize. add new feature will change existing code dramatically.
videni commented 5 years ago

my github account surname is also my wechat account, hope we can come together, share some ideas.