Open
Description
Tasks already logged:
- Merge Document and HTMLDocument #3 (removes
asHtmlDocument
function, and probably a few others) - Encode string enums as polymorphic variants #7 (reduces need for 'convert' functions)
- Update Fetch API #30 (the generated JS for
bs-fetch
that we imported is 400 lines long, mostly due to lacking ReScript techniques added after it was written) - Convert SelectionDirection and SelectionMode in HTMLInputElement #74 (one of the scenarios where runtime wrapper code can now be replaced with polymorphic variants)
But I'd still like to note this as a general task to analyse the generated JS and see if ReScript techniques can be used to reduce the amount of it.
Mainly techniques like the ones described here
https://rescript-lang.org/docs/manual/latest/bind-to-js-function#trick-2-polymorphic-variant--unwrap
Metadata
Metadata
Assignees
Labels
No labels