bartblast
Creator of Hologram
Testers wanted: protocol pruning for smaller client bundles
Could use a hand testing something. Just landed a protocol pruning enhancement - the compiler now drops protocol implementations your app can’t actually reach, so every app gets smaller client bundles. Biggest win for apps whose deps ship lots of impls (Ash, ex_money, ex_cldr, decimal and friends), where the old behavior could explode the bundle and even stack-overflow the browser.
{:hologram, github: "bartblast/hologram", ref: "cab6efaedce58c1fe01582088b1ffeef6524364c"}
mix deps.update hologram, rebuild, then click through your pages (navigation, actions, anything that renders structs) and watch the browser console for client-side errors.
Bonus: compare your bundle sizes before and after, the runtime bundle especially (that’s the one that was blowing up) - would love to hear the numbers.
Popular in RFCs
I’ve started working on a toy project to compile extended POSIX-compatible regular expressions into NimbleParsec combinators. These combn...
New
https://github.com/pzingg/phx_cookie_consent
I took a phx.gen.auth application and added support for storing a user’s cookie consent set...
New
This thread once discussed Routex in it’s early form. It has been repurposed to gather feedback and discusses pre-releases.
Currently: p...
New
Hi all,
this week I played a bit with Phoenix and Elm.
I ended up with this POC:
https://github.com/carlotm/elmex
The repository cont...
New
TL;DR I’ve forked the Lens package, changed the API some, added new lens makers and – most importantly – added a ton of documentation. In...
New
Every protocol you’ve shipped assumes the spec doesn’t change during the connection. This one doesn’t. Code is typed, composable, content...
New
After discussing some of my ideas around Event Sourcing at last night’s Elixir Happy Hour in Austin (highly recommend), I spent some time...
New
Other popular topics
Hi!
In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir?
Searched the docs for ip address and the web, no good results.
Thanks!
New
Phoenix 1.4.0 released
Phoenix 1.4 is out! This release ships with exciting new features, most notably
with HTTP2 support, improved deve...
New
What learn first? Rust or Elixir
Hi Elixir community!
I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
After calling mix ecto.create I get this error:
17:00:32.162 [error] GenServer #PID<0.412.0> terminating
** (Postgrex.Error) FATAL...
New
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service.
Currently when I de...
New
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









