mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +09:00
Remix fetcher introduce constraints for own server implementation. For example body can be FormData, object or string and FormData requires custom stream parser (they provide one). Though streaming blob much simpler task and can be done with native streams. Another constraint is request cancelation when component is unmounted. We workaround this with global persistent fetcher. Though native fetch does not require this workaround too.