ranting_rabbit

ranting_rabbit

HOWTO: Create sortable liveviews with load more button

Hi all,

I did a sample project on how to add a “Load more” button and sorting in liveview tables:

micdahl/phoenix_raise (github.com)

I also wrote a blog post for this: Phoenix LiveView: Load More Button und Sortierung - Michael Dahl. It’s in German, but if there is any interest I might translate it to english, too.

Have fun with it, I hope it’s usefull for anyone.

Contributions to Christian Alexander, whose post Efficient bidirectional infinite scroll in Phoenix LiveView - DEV Community did help me a lot to find things out.

Most Liked

Morotai

Morotai

My browser just prompted me to display in English so no need for an English version for me. :slight_smile:

Morotai

Morotai

Ah just read it but did not try the code. Will take it for a spin.

Where Next?

Popular in Discussions Top

AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
PragTob
Hey everyone, this has been brewing in my head some time and it came up again while reading Adopting Elixir. GenServers, supervisors et...
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
New
nburkley
AWS re:Invent is on at the moment with some interesting announcements. One new feature in particular is the Lambda Runtime API for AWS La...
New
Nvim
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help. Where are they similar? Where do they differ the m...
New
mikl
I wanted to capitalize a string, and tried using String.capitalize(). That generally works well, until you try to capitalize a word like...
New

Other popular topics Top

Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New

We're in Beta

About us Mission Statement