3 ms·
> To bring the parser to the UI, we can compile saffron to wasm and use generated bindings created with wasm-pack. Curious to know how big the wasm version is.
by cuu508 6y ago
> To bring the parser to the UI, we can compile saffron to wasm and use generated bindings created with wasm-pack.
Curious to know how big the wasm version is.
The naive way would be an AJAX request to the server, and the server can then validate the cron expression and generate a description. Sure, a request to the server means additional latency but it can be so low it's not perceptible.