lundi 3 octobre 2016

Auto Calculate Component in EmberJS

I'm trying to create a component in Ember that shows you how many comments a post has. I pull the comments from the API. The problem right now is, if there are new comments, it doesn't re-query the API.

Is there a way to have the Ember component automatically check every 15 or so seconds for new comments to update the count?




Aucun commentaire:

Enregistrer un commentaire