I think your best bet is to post this question on stackoverflow with a link to the code. (jsbin or otherwise). For a question like this, where the answer could be related to Polymer, JavaScript, or PHP, that's your best resource.
For questions like, "How does Polymer do X," "Why does Polymer do X," this mailing list is probably your best resource. To answer the concrete question -- using setTimeout or setInterval shouldn't cause a problem with Polymer. On Wed, Mar 11, 2015 at 5:59 PM, <[email protected]> wrote: > HI, > > i have been stuck for a long time with the problem of making notifications > on a site that I am building using polymer. Essentially, I have a PHP fiel > which retrieves the notifications and serves them in a dropdown when the > page loads. Brilliant. > > However, I can't seem to be able to make a "true" notification feature, > i.e actually refreshing the notifications when there is one. I have tried > using setTimeout/setInterval along with the $.go() method in core-ajax, but > then the site appears to crash, and the animations become very > sluggish(less than 1 frame a second). > > I have tried looking on other places for solutions, but there does not > seem to be any examples for making real-time applications with out using > polymer. Is setTimeout/setInterval not meant to go with polymer, or am I > just using it wrong? > Either way, tell me if you need more clarification or jsbin. > > Thanks! > > Follow Polymer on Google+: plus.google.com/107187849809354688692 > --- > You received this message because you are subscribed to the Google Groups > "Polymer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/polymer-dev/2f6d75a6-df6f-401b-b83a-3243b9d11562%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/2f6d75a6-df6f-401b-b83a-3243b9d11562%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CADSbU_zzBMcYedjZBbXB3bWfZwQaub9kERfD0kdWGpan7-pQGA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
