More than a month ago, I shared in a previous blog post how I’ve implemented Canals in Super Space Galaxy that give structure and a unique shape to each city. My intention was to have each Ca…
Surface - A component-based library for Phoenix LiveView - Libraries - Elixir Programming Language Forum
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative way to express and use components in Phoenix. Some of the main features include: Components as modules - they can be stateless, stateful, data-only or compile-time Declarative properties - explicitly declare the inputs (properties) of each component (like React) An HTML-centric templating language with built-in directives (:for, :if, …) and syntactic suga...
LiveComponents are a new feature of Phoenix LiveView, bringing lightweight reusable components into the LiveView ecosystem. [Sept. 7, 2020 - Article and code updated to LiveView v0.14.4] Phoenix LiveView # Phoenix LiveView became publicly...
I've found that Elixir programs can run C code either via NIFs (native implemented functions) or via OS-level ports. Having read those and similar links, I'm not a hundred percent clear on when to ...