Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate on architeture refactor of form-js viewer #1051

Closed
vsgoulart opened this issue Feb 15, 2024 · 1 comment
Closed

Investigate on architeture refactor of form-js viewer #1051

vsgoulart opened this issue Feb 15, 2024 · 1 comment
Assignees

Comments

@vsgoulart
Copy link
Contributor

What should we do?

Currently the form rendering layer is very coupled with the form mutation layer (FormFieldRegistry, PathRegistry) and this brings problems with reactivity/difficulty to maintain complex structures like groups and dynamic lists.

To try to solve that we should investigate on the possibility of refactoring and splitting the viewer into 3 different layers:

  1. Core viewer, which would handle the mutation of the schema and provide fine grained subscription to these mutations
  2. Preact/React compat library which provides primitives to trigger Preact rerenders when the form mutates
  3. The component library with all the form elements we have today which would contain only each component's logic

This way we would also provide ways for other people to support libraries in vue, svelte, solid, etc while we would support only Preact.

Why should we do it?

@vsgoulart vsgoulart self-assigned this Feb 15, 2024
@nikku nikku added the backlog Queued in backlog label Mar 7, 2024 — with bpmn-io-tasks
@Skaiir
Copy link
Contributor

Skaiir commented Jun 11, 2024

Closed as dupe, tracked here: #1166

@Skaiir Skaiir closed this as completed Jun 11, 2024
@bpmn-io-tasks bpmn-io-tasks bot removed the backlog Queued in backlog label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants