Open-Federation / json-schema-editor-visual

A json-schema editor of high efficient and easy-to-use, base on React.
https://hellosean1025.github.io/json-schema-visual-editor/
MIT License
997 stars 220 forks source link

Added Redux #64

Open codeasashu opened 3 years ago

codeasashu commented 3 years ago

I've replaced moox package with plain react-redux so that anyone can easily extend this package if they desire.

I've also cleaned the code along:

lin-mt commented 2 years ago

Can you rewrite this project with React 17 and typescript? I'm a backend developer and need this tool, but I can't rewrite it.

codeasashu commented 2 years ago

@lin-mt I am doing exactly that. See https://github.com/codeasashu/react-openapi-designer

Currently, its WIP and missing a lot of things, but I am taking inspiration from stoplight.io to take designing one step forward.

lin-mt commented 2 years ago

@lin-mt I am doing exactly that. See https://github.com/codeasashu/react-openapi-designer

Currently, its WIP and missing a lot of things, but I am taking inspiration from stoplight.io to take designing one step forward.

Great ! Do you have any plans to release the first version? I'm looking forward to it!

lin-mt commented 2 years ago

can not use redux, when I need two editors, change one and the other will change, is there a solution

codeasashu commented 2 years ago

@lin-mt Yes there are:

  1. Use different store like mobx
  2. Use namespaced stores in redux