Ash Framework: Calculations
How to use calculation to build another calculation. What?

Search for a command to run...
Articles tagged with #phoenix-liveview
How to use calculation to build another calculation. What?

Implementation of FlipDown.JS and how Phoenix LiveView help us integrate it. Recently, We implemented a countdown timer for one of our features in our app. We decided to use FlipDown JS because it is lightweight and easy to implement. In some other t...

with the help of phoenix hooks

The beauty of assign_async/3 and async_result/1 # LiveView def handle_params(params, _uri, socket) do {:noreply, socket # ... more assigns here |> assign_async_coffees()} end # ... more code here defp assign_async_c...

and how did I leverage the power of using `has_one/3`

Use handle_params/3 more often rather than mount/3 for assigning. def mount(_params, _session, socket), do: {:ok, socket} def handle_params(params, _uri, socket) do {:noreply, socket |> assign_here_1(params) |> assign_here_...
