You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
I tried to change Request.referrerPolicy to a polyvar in #66 but it ultimately didn't work as it uncovered a rescript formatting bug. See comment on PR for details.
Tasks already logged:
asHtmlDocument
function, and probably a few others)bs-fetch
that we imported is 400 lines long, mostly due to lacking ReScript techniques added after it was written)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
The text was updated successfully, but these errors were encountered: