Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider changing how we issue the fetch request #8

Open
robpaveza opened this issue Jun 9, 2020 · 0 comments
Open

Consider changing how we issue the fetch request #8

robpaveza opened this issue Jun 9, 2020 · 0 comments

Comments

@robpaveza
Copy link
Contributor

Today we fetch with code generated at runtime by a custom generation script that relies on a lot of string concatenation. However, Chromium DevTools already has a "Copy as fetch" option.

Alternatively, the function can be written out in regular vanilla JS (so it can be typechecked) and then be converted to a string to Function#toString().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant