Post #2686 161 Nov 14, 2022, 08:25 UTC #elixirToday I Learned: Phoenix component attr definition https://til.hashrocket.com/posts/vmphqn8bnf-phoenix-component-attr-definition Hashrocket Today I Learned: Phoenix component attr definition The new Phoenix.Componentattr/3 function is awesome. It does compile time validations to all the places that are calling the component and also it comes with nice and useful options. For instance the default option: