nelsonic

nelsonic

When we were figuring out how to use Phoenix LiveView we got stuck a few times.
So in order to save other people time, we created a complete beginners tutorial
that assume no prior experience with Phoenix or LiveView:
https://github.com/dwyl/phoenix-liveview-counter-tutorial

Please check it out and share your feedback!
Thanks! :sunny:

Showing Posts 1 to 7

nelsonic

nelsonic OP

Completely updated to Phoenix 1.5.3 + LiveView 0.13.2 (latest versions of both)
Considerably simpler and easier to learn. (credit to the Phoenix team!) :rocket:

Sanjibukai

Sanjibukai

nelsonic

nelsonic OP

@Sanjibukai indeed the changelog on master has been updated for the upcoming release :tada:

but at the time of writing, 0.13.3 has not been published to Hex.pm: phoenix_live_view | Hex
live_view_version
See: Releases · phoenixframework/phoenix_live_view · GitHub
live-view-releases

Given that the tutorial is aimed at complete beginners, we aren’t going to instruct them to use the master LiveView version that has not been released yet.

Once a new version of LiveView is published, we will gladly accept a Pull Request updating the tutorial if necessary. But until then this is the bleeding edge. :+1:

Sanjibukai

Sanjibukai

I was just joking… :sweat_smile:
You didn’t have too use such energy with screenshots etc. My bad..
Sorry if you misunderstood..

nelsonic

nelsonic OP

@Sanjibukai it’s difficult to discern tone from text. Thanks for clarifying you were joking. :slightly_smiling_face:
Anyway, hope everyone finds the tutorial useful. :+1:

nelsonic

nelsonic OP

Updated to: Phoenix 1.5.5 + LiveView 0.14.7 (no breaking changes!) :rocket:

nelsonic

nelsonic OP

This tutorial was recently fully updated to Phoenix 1.7: Phoenix 1.7 by chargio · Pull Request #104 · dwyl/phoenix-liveview-counter-tutorial · GitHub there were quite a few breaking changes and a lot of new “boilerplate” in the codebase. :thought_balloon:

We would prefer less boilerplate / framework code in our projects as it would require reading for a new joiner in a project and less maintenance. But if the alternative is “magic”, then this is acceptable.

Happy LiveView-ing in 2023 everyone! :tada:

— All posts loaded —

Where Next? Top

Trending in Guides/Tuts Top

c4lliope
# ~/src/livebook/.iex.exs System.cmd("xdg-open", [ LivebookWeb.Endpoint.access_url() ] ) Because Livebook requires a unique passcode on ...
New
krasenyp
You probably already know that <span>{nil}</span> in a HEEX template produces <span> </span> when rendered. I fin...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews