I'm still trying to figure out what exactly Felte is (after recently digging in a bit to Vest which Felte docs say can be used)? I see here the svelte action and react hook...is it basically a higher order function that wraps your form? Could I use it with my own AgnosticUI (which wants total control of the UI primitives)? I've done a demo with Vest and my do Yup, but wonder if I should/can do an AgnosticUI one with Felte.
I wouldn't call it a "higher order function". The reason for the svelte action/react hook is that it needs a reference to your <form> element (the native HTMLFormElement). As long as the component library you use lets you have access to it, you can use Felte with it. I'm not sure if this answers your questions, though!
I'm still trying to figure out what exactly Felte is (after recently digging in a bit to Vest which Felte docs say can be used)? I see here the svelte action and react hook...is it basically a higher order function that wraps your form? Could I use it with my own AgnosticUI (which wants total control of the UI primitives)? I've done a demo with Vest and my do Yup, but wonder if I should/can do an AgnosticUI one with Felte.
I wouldn't call it a "higher order function". The reason for the svelte action/react hook is that it needs a reference to your
<form>
element (the native HTMLFormElement). As long as the component library you use lets you have access to it, you can use Felte with it. I'm not sure if this answers your questions, though!👍 Yes it definitely answers -- thanks Pablo!