-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step by step guide for creating the stopwatch #1
Comments
Create new Phoenix
|
@SimonLab have you looked at using |
@SimonLab OK, cool. gonna take a look at this: dwyl/learn-alpine.js#2 ⏳ |
I've created a draft PR which initialised the Phoenix application and
|
Application deployed at https://liveview-stopwatch.fly.dev/ |
Pretty confident I/we could integrate |
I think we can close this issue now and focus on #3 |
Create the Elixir/Phoenix version of https://github.com/dwyl/stopwatch using LiveView.
mount
to initialise the timer state and start:timer
on serverhandle_info
to list to the timer eventInspired by: https://elixirforum.com/t/livecomponent-updating-itself-at-regular-intervals/37047/8
The text was updated successfully, but these errors were encountered: