As we all know, the more times you define something, the higher the chance of introducing bugs.
In the above scenario, if we want to rename firstName to name, we’d need to update it in at least three places — significantly increasing code fragility.
That’s why I created Piying — a form library that achieves all the above functionality with just one definition.
If you want to customize the styling of a group of fields, you can define a custom component directly:
> While wrappers can be used for field groups, direct component customization is often more convenient.
The code examples above don’t specify a particular frontend framework — because they’re framework-agnostic.
However, wrapper and component definitions are framework-specific.
You can find setup instructions for your preferred framework in the Quick Start Guide.
Currently supported: React, Vue, and Angular.
If you need support for another framework, feel free to open an issue.
Is It Ready for Production?
Piying Form has been used internally for over half a year before public open-source release.
Most features have undergone rigorous testing.
Code coverage exceeds 95%, making it production-ready.
We provide extensive use case demos and equivalent implementations of popular libraries to ease migration:
Top comments (0)