GenericJam
Mob 0.7.12 released!
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)
Popular in News & Updates
Explore Livebook 0.9’s new features: deploy notebooks as user-friendly apps, star & access recent notebooks, and collapse sections.
...
New
Hologram v0.8.0 is out! This release brings JavaScript interoperability - the most requested feature since the project’s inception. You c...
New
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
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
Great news for Hologram: the Erlang Ecosystem Foundation has awarded a stipend to support key development milestones!
I’m deeply gratefu...
New
Hey everyone!
The Membrane Framework has a new website! It contains tutorials, blog posts, and other resources you’ll find handy while u...
New
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
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
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
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
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
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
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
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
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
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
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
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
Lets say I have map like this fetching from my database
%{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
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
- #javascript
- #code-sync
- #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
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








