GenericJam
Mob 0.7.12 has been released.
Fixed
~MOBnow raises a clear error when@foois used withoutassignsin
scope. The@foo→assigns.fooshorthand (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 withMacro.Env.has_var?(caller, {:assigns, nil})(the same check Phoenix’s~Huses) and raises aCompileErrornaming
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 whereon_*event-target auto-injection applies (a
composite tag’s own props vs a plain widget in its children). The@assigns
section documents that@fooonly works whereassignsis in scope and
steers helpers to positional{var}. (#56, #57)
Trending in News & Updates
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
I’ll be using this thread to share Hologram patch release announcements. Minor releases will continue to get dedicated threads with blog ...
New
This release unifies configuration for queues, repos, and services, swaps opaque timing integers for readable durations, and backports pe...
New
Bond brings Design by Contract to Elixir: preconditions, postconditions and invariants as executable specifications, checked at runtime a...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
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
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #ai
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming









