Custom Form

A custom form's presence is static but its input structure is dynamic. A todo-list where users can add/remove inputs is a common example.

Be careful: naive custom form implementations that call useRegister/useFields conditionally can trigger the React "Rendered more hooks than during the previous render." error. Use SicilianProvider and useSicilianContext to move hook usage into children and avoid this.

Tutorials - Practical Examples | ilokesto - React Library Collection