Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
realusername
on March 4, 2023
|
parent
|
context
|
favorite
| on:
Phoenix Dev Blog – Streams
If the UI change requires no network calls, it's better to use a JS hook or/and Alpine in my opinion.
yencabulator
on March 9, 2023
[–]
The parent is talking about a scenario where the network action may take longer, and you want the UI to remain responsive. Consider a save button that goes through state transitions dirty->saving->saved.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: