Skip to content
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

Docs: Note on clamping updates with Time.every #684

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tad-lispy
Copy link

I've run into this while playing with Elm Tutorial and at first though it's a bug in Time module. It took me some investigation to find out that it's actually a JS / browser behaviour outside of the Elm. The good thing is that I've learned something new about browsers, but since using setInterval in Elm's Time.every is an implementation detail, I think this should be explicitly mentioned in the docs.

I've run into this while playing with Elm Tutorial and at first though it's a bug in `Time` module. It took me some investigation to find out that it's actually a JS / browser behaviour outside of the Elm. The good thing is that I've learned something new about browsers, but since using `setInterval` in Elm's `Time.every` is an implementation detail, I think this should be explicitly mentioned in the docs.
@process-bot
Copy link

Thanks for the pull request! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants