Reasoning
The validators can all work without react, and the example components that most users will probably replace
Current Status
Pulling in formifly pulls in a lot of dependencies that are not needed in all cases where formifly could be useful.
Should-Be Status
Formifly is split into subcomponents that can be installed independently.
For this, we should split this library into two:
1: Formifly React (using this repository and npm package) - Ships all of the features to make formifly work as it is intended to be used, including example components.
2: Formifly validators - Only the validators code, so that it can also be used for server side validation. This libary should aim for 0 external dependencies
Acceptance Criteria
Reasoning
The validators can all work without react, and the example components that most users will probably replace
Current Status
Pulling in formifly pulls in a lot of dependencies that are not needed in all cases where formifly could be useful.
Should-Be Status
Formifly is split into subcomponents that can be installed independently.
For this, we should split this library into two:
1: Formifly React (using this repository and npm package) - Ships all of the features to make formifly work as it is intended to be used, including example components.
2: Formifly validators - Only the validators code, so that it can also be used for server side validation. This libary should aim for 0 external dependencies
Acceptance Criteria