Live data from Hacker News

Phoenix LiveView 1.0.0 is here

phoenixframework.org

141–142 of 142 posts

Re: Phoenix LiveView 1.0.0 is here

#141
post #104

Phoenix creator here – excited to finally have shipped this! Happy to answer any elixir/phoenix/liveview questions. In case folks missed it, buried in the blog post is a new installer that lets folks try out elixir/phoenix in seconds. It installs elixir and generates a new phoenix project from a single command: osx/linux: $ curl https://new.phoenixframework.org/yourappname | sh windows powershell: > curl.exe -fsSO ht…

Congrats on the release Chris! What JS solution/approach would you recommend to use with LiveView for pure client-side stuff?

I use StimulusJS

Re: Phoenix LiveView 1.0.0 is here

#142
post #93
post #87

Earlier quoted context omitted.

There are libraries for Ecto that help with this. https://github.com/duffelhq/paginator

Careful that this library last I used it (2020 or so) used a particularly insecure encoding of the cursor that basically allows remote execution. Not sure if they ever addressed it. Here's the fork I created at the time to work around some of these issues: https://github.com/1player/paginator

This looks like it was fixed

* https://github.com/duffelhq/paginator/blob/main/lib/paginato...

* https://github.com/duffelhq/paginator/blob/main/test/paginat...

Post reply on HN