This repository was archived by the owner on Jul 19, 2025. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://nextjs.org/learn/dashboard-app/streaming
Covers:
loading.tsx
(a new special file) and Suspense.dashboard / (overview) / page.tsx
Phoenix's LiveView vs Next.js Streaming
It is an obvious question that I had, but I wanted to have it answered and this seemed like the place to do it. I am beginning to think that Next.js may be a better use case for the personal blog and Elixir may be a better fit for dendromeda.
hmm. Anyhoo...
Just incase you were wondering - good old Professor GPT had this to say (everything below is LLM)
⚡ Phoenix LiveView vs 🔄 Next.js Streaming
Next.js streaming and Phoenix LiveView both tackle UI responsiveness and interactivity, but they come from different philosophies. Here's how they compare:
⚡ Phoenix LiveView
🔧 Feels like: “Live backend controlling the DOM directly”
🔄 Next.js Streaming (React Server Components / Suspense)
Suspense
andasync
server componentsuseState
,useEffect
, etc.)🔧 Feels like: “Progressively streamed HTML until hydration kicks in”
🧠 Core differences
🧪 TL;DR
They’re both brilliant — just with different tradeoffs and stack roots. If you're loving LiveView, you might find RSCs + server actions in Next.js kinda similar in spirit, but not as seamless for real-time interactivity (without adding your own sockets or SWR).