joshuagruenstein / snooze

A lightweight JS front-end microframework for API-first webapps.
MIT License
1 stars 0 forks source link

Default Behavior is Polling #11

Closed truell20 closed 8 years ago

truell20 commented 8 years ago

Pipes should not poll by default. While useful in some cases, this is not what the plurality of cases warrants.

joshuagruenstein commented 8 years ago

I think URL and Function pipes should not poll by default, however objects should. There are minimal disadvantages to this, and it seems to be what users might expect (when they update the value, the DOM updates as well). Thoughts @truell20?

joshuagruenstein commented 8 years ago

Fixed this as discussed in my previous comment in 946dad0bf6b3a5d8774548f74e5b446674dc6592. No default polling for URLs and functions, and 0.3 second polling for objects.