Examples
There are a few examples in the examples
directory of the repository, that show how to use the library in different scenarios.
React
Example | Description |
---|---|
async-form-signals | A simple form that loads data asynchronously and handles async form submission and validation |
complex-product-details-form-signals | A complex form utilizing array fields, nested objects, dynamic fields, custom validation and deeply nested components |
complex-product-details-react-hook-form | The complex example just implemented using react hook form form comparison |
complex-product-details-tanstack-form | The complex example just implemented using tanstack form form comparison |
e-commerce-form-signals | Creates a form outside of a component and uses it in different locations through a global import |
files-form-signals | Utilizes file upload with the library |
performance-test-form-signals | Creates an array with many a lot of individual items to stress test the performance for large forms |
simple-form-signals | A very simple example with few fields and simple validation |
step-wizard-form-signals | A multi step form, that validates each step before going to the next step and finally submitting the complete form |
React Native
Example | Description |
---|---|
native-form-signals | A simple react native implementation using the library |