Sanjibukai

Sanjibukai

About LiveView Demo Project on Github

Hi everybody,

I wanted to play a little with Phoenix LiveView.
And I tried the “official” Demo Project on Github..

First I noticed that there are many parts that are actually broken.
The /pacman example doesn’t seem to work (nothing happen upon key presses)
The /snakeexample don’t event load on the browser while nothing seems to happen on the server (there is even nothing in the logs but something’s definitely crashing)

Then, I wanted to find some details about the events supported by LiveView.
For example, there are phx-change, phx-submit, phx-click, phx-keydown etc..
But I don’t find any ressource about all the events available, and also e.g. for the keydown an keyup what are all the keycode available?

I think that LiveView is a huge game-changer and I’m aware of it being relatively new.

Does anyone have more knowledge about where to find more details?

I might be voluntary to try to document some parts once I’d practice enough..

Thank you very much!

Marked As Solved

sfusato

sfusato

The breaking changes that affected Pacman and Snake examples were quite small. You can find the changes in this PR.

Besides the docs suggested above by @PJUllrich, I also find the CHANGELOG extremely helpful to keep tabs on how things are evolving.

Also Liked

PJUllrich

PJUllrich

Author of Building Table Views with Phoenix LiveView

Hi @Sanjibukai,

that can very well be correct. The rate of progress made in the Phoenix LiveView project is quite astonishing and it might very well be that the examples always lack a bit behind the current state of the actual library. If you want to learn about the current state of the project, I recommend reading the documentation in the phoenix_live_view.ex file or the official docs

Last Post!

Sanjibukai

Sanjibukai

Thanks.

I was able to figure out those changes when comparing with other examples.

Good thing for the PR.

And nice idea to look in the change logs since it’s still evolving..

Where Next?

Popular in Discussions Top

New
AstonJ
If a newbie asked you about Phoenix Contexts, how would you explain the basics to them? Feel free to be as concise or in-depth as you li...
New
lorenzo
Hey everone! I created a prototype for my app using Nodejs for the api. But the framework I chose wasnt great (in general theresnt any g...
New
pdgonzalez872
If this has been asked here before, please point me to where it was asked as I didn’t find it when I searched the forum. Maybe a mailing ...
New
AstonJ
If so I (and hopefully others!) might have some tips for you :slight_smile: But first, please say which area you’re finding most challen...
New
nunobernardes99
Hi there Elixir friends :vulcan_salute: In a recent task I was on, I needed to check in two dates which of them is the maximum and which...
New
pillaiindu
I want to convert a Phoenix LiveView CRUD website to a CRUD mobile app. What do you think is the easiest way to do so?
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36689 110
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New

We're in Beta

About us Mission Statement