MatijaL

MatijaL

Phoenix LiveView vs NextJS/Astro

Hi,
I’ve been learning Elixir and Phoenix for some time now and I love it but I also see some interesting things in the JavaScript world with NextJS and Astro. Having a static website with component hydration sounds quite interesting but I’m a beginner in this whole world without much experience but eager to learn so I was wondering if you could share your thoughts, pros and cons of both systems.

First Post!

cmo

cmo

Don’t forget Qwik! I thought Astro and Qwik we’re doing things a little different to the others in that you’re not downloading the entire JS before you can do anything? Are you saying Next.js does this too?

I reckon use whatever you enjoy the most.

Most Liked

andreaseriksson

andreaseriksson

Well, it depends on what you want to build. I havent used nextJS or Astro but unless you build a static site, you need to have a backend as well. That could be Phoenix or some other technology. Then it starts to get more complex.
With LiveView, you only need to have one app to deploy and only one language to focus on. I would also argue that you get more framework features out of the box.

I know what I would pick.

Where Next?

Popular in Discussions Top

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
opsb
We’re considering our architecture from a viewpoint of scaling our traffic heavily over the next 6 months. Our current deployment is runn...
New
Rustixir
Hi everyone, im working on find best language/framework/system for high concurrency, high performance and stable performance after wor...
New
fireproofsocks
I’ve been working on an Elixir project that has required a lot of scripting. I usually reach for Elixir because I like it more (and in th...
New
matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
arcanemachine
https://nitter.net/josevalim/status/1744395345872683471 https://twitter.com/josevalim/status/1744395345872683471
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
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
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement