Skip to content

[React] Feature Request: Decouple Form and FormStore creation from components. #209

Open
@zthng

Description

Hello, is it possible to explore decoupling the creation of the signals store from the creation of the components?

Reason: This would enable us to build form modules that are totally isolated from React (with only @preact/signals-react as the only dependency remaining) and to manipulate the form fully outside of React.

Since it is a signal, we can consume it anytime we like anyway—and as such, we can do the bindings between the modules and React ourselves.

This is from the perspective of a large-scale form. Doing this will allow us to break the form into multiple instances without requiring React to have the component rendered somewhere.

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions