Post
I have a question 😅 I built a silly quiz app for my daughter. When you open the quiz page, there‘s an error flash message and I don‘t understand why. Here‘s the code: github.com/HerrBertling... - can you by chance spot something? This all looks at least okay to me 🤷🏼♂️🫠
github.comai-quiz/lib/menas_quiz_web/live/question_live/index.ex at main · HerrBertling/ai-quizAn AI Quiz app. Contribute to HerrBertling/ai-quiz development by creating an account on GitHub.
2) handle some assignment in the `handle_params/3` callback if it needs to run once and has branching logic depending on the url params present (3/4)
0 reposts2 likes
3) use `assign_async/4` and adjust the rendered view to handle a loading state if `Quiz.get_questions/1` is slow to return data. All three options depend on how you want to build things out. For more context on the LiveView Lifecycle, check out the docs here: hexdocs.pm/phoenix_live... (4/4)
hexdocs.pmPhoenix.LiveView — Phoenix LiveView v0.20.17