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
We recently released Nerves 1.4.0 and an update to the Nerves new project generator, nerves_bootstrap. The biggest change is support for ...
New
We recently released Nerves 1.6 and corresponding updates to the Nerves new project generator, nerves_bootstrap and our official systems....
New
Hi everyone, just a heads up that we announced https://livebook.dev, a website for everyone to learn more about Livebook.
One of the coo...
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
Just released: Ash AI, a new extension for Ash Framework. LLM integration for Elixir apps. Use Ash’s declarative approach for structured ...
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
Great news for Hologram: the Erlang Ecosystem Foundation has awarded a stipend to support key development milestones!
I’m deeply gratefu...
New
Other popular topics
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
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
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something…
Haskell reminds me of Java, and e...
New
Hi All,
I set a environment variables in dev.exs , like below code.
when i start server, how can i set the ${enable} value?
thanks.
d...
New
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
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









