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

Create docs #29

Merged
merged 30 commits into from
Oct 28, 2021
Merged

Create docs #29

merged 30 commits into from
Oct 28, 2021

Conversation

armanbilge
Copy link
Member

@armanbilge armanbilge commented Oct 24, 2021

Based on #28. Closes #12. Opening for ci atm, I'll try to put up a preview.

@armanbilge armanbilge linked an issue Oct 24, 2021 that may be closed by this pull request
@armanbilge armanbilge marked this pull request as ready for review October 24, 2021 22:04
@armanbilge
Copy link
Member Author

I've published a preview at https://armanbilge.github.io/http4s-dom. Feedback?

@rossabaker do we need to do anything special to publish this at http4s.org. Do you prefer a subdomain?

@armanbilge
Copy link
Member Author

Another interesting outcome of this, is that it gives us an idea of the size of the generated JS for a basic app using the fetch client with circe.

Currently, it's a hefty 1.8 mb: https://raw.githubusercontent.com/armanbilge/http4s-dom/gh-pages/README.md.js

Unsurprisingly, a non-trivial part of that is the entire MimeDB 🙃

@armanbilge
Copy link
Member Author

Following up on my previous comment: now you can explore exactly what contributes to that 1.8 mb, and how much.
https://armanbilge.github.io/http4s-dom/sme.html

@armanbilge armanbilge merged commit a8a4b1e into http4s:series/0.2 Oct 28, 2021
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

Successfully merging this pull request may close these issues.

Add some basic documentation
1 participant