GenericJam

GenericJam

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? Top

Trending in News & Updates Top

sorenone
Today we’re releasing Oban for Python. Not an Oban client in Python. Not a pythonx wrapper embedded in Elixir. Nope, it’s a fully operati...
New
kip
I’m a bit excited to announce that Localize and friends are now at release 1.0. Even though it’s a 1.0 release, it stands on 8 years of w...
New
bartblast
Hologram v0.11 is out! Two headline features this release. First, Elixir regexes now run in the browser. They were server-only until now,...
New
nseaSeb
Just published search_ash 0.5.0 (with search_core 0.4.0) on Hex. What’s new: synonyms You can now declare a synonym dictionary per lang...
New
mudasobwa
MdexMultilineCells is an MDEx plugin enabling multi-line cells in Markdown tables with full inline/block Markdown rendering and automati...
New
jvoegele
Bond brings Design by Contract to Elixir: preconditions, postconditions and invariants as executable specifications, checked at runtime a...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge &amp; Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews