GenericJam

GenericJam

Mob 0.7.12 released!

Mob 0.7.12 has been released.

Fixed

  • ~MOB now raises a clear error when @foo is used without assigns in
    scope.
    The @fooassigns.foo shorthand (0.7.11) only works inside a
    render(assigns); used in an ordinary helper function (positional args — the
    idiomatic composite pattern) it compiled to a cryptic “undefined variable
    assigns”. The sigil now guards with Macro.Env.has_var?(caller, {:assigns, nil}) (the same check Phoenix’s ~H uses) and raises a CompileError naming
    the fix ({title} instead of @title). Only @-using templates trigger it —
    a static ~MOB(<Text text="hi"/>) in a positional-arg helper still compiles.
    (MOB-5, #56)

Documentation

  • Worked component-authoring examples in the Components guide. The
    “Defining your own components” section now carries two complete, runnable
    screens — a function composite and a tag composite — spelling out the
    tag→atom rule and where on_* event-target auto-injection applies (a
    composite tag’s own props vs a plain widget in its children). The @assigns
    section documents that @foo only works where assigns is in scope and
    steers helpers to positional {var}. (#56, #57)

Where Next?

Popular in News & Updates Top

hugobarauna
Explore Livebook 0.9’s new features: deploy notebooks as user-friendly apps, star &amp; access recent notebooks, and collapse sections. ...
New
bartblast
Hologram v0.8.0 is out! This release brings JavaScript interoperability - the most requested feature since the project’s inception. You c...
New
sorentwo
Many months ago when I originally announced Oban I mentioned that a LiveView powered UI would be available for it soon. Well, the “soon” ...
New
fhunleth
We are thrilled to announce another update for Nerves Systems to nerves_system_br 1.22.5-based releases. Nerves systems are the device su...
New
bartblast
Great news for Hologram: the Erlang Ecosystem Foundation has awarded a stipend to support key development milestones! I’m deeply gratefu...
New
DominikWolek
Hey everyone! The Membrane Framework has a new website! It contains tutorials, blog posts, and other resources you’ll find handy while u...
New
zachdaniel
Hey folks! I’ve begun putting together some concrete, framework-wide tooling and guidance on the usage of LLMs in development. The goal h...
New
bartblast
Hey! For those following Hologram’s progress… I’m excited to share that I’ve just published the official roadmap for Hologram. You can ch...
New
jjcarstens
Testing code destined for hardware can be tricky, but it just got one tiny bit easier! :tty0tty was just released which is an Elixir por...
New
fhunleth
I wanted to let everyone know that the Erlang Ecosystem Foundation (EEF) has a working group dedicated to embedded systems and IoT. We ha...
New

Other popular topics Top

9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
Harrisonl
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
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" =&gt; #BSON.ObjectId&lt;58eb1a7a9ad169198c3dXXXX&gt;, "email" =&gt; ...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

We're in Beta

About us Mission Statement