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
Action Advised: NervesHub Sunset
In 2018, NervesHub was launched to deliver first-class support for hardware deployments directly from th...
New
Discover Livebook 0.9’s new security features, including Hubs for centralized secret management, notebook stamping, and a sneak peek into...
New
Hello everyone! :wave:
I am thrilled to announce a new version of Jellyfish Media Server - v0.2.0! :tada:
Features:
Added RTSP compon...
New
Hey folks! We’ve just released the beta 0.1.0 version of ash_sqlite. Take a look at the guide here: https://hexdocs.pm/ash_sqlite/get-sta...
New
Join us for our first Ash Office Hours next Thursday at 6PM EST! Myself and anyone from the core team who can make it will be answering q...
New
Hologram v0.6.0 is here, bringing production-ready features to the full-stack Elixir web framework! This release focuses on enhanced secu...
New
Nex - A minimalist web framework for indie hackers and startups
A Note Before We Begin
This document records my thoughts during the dev...
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
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
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
Hello!
tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability.
After spen...
New
Hello everyone,
Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
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









