My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Best way to update view due to database changes in a Laravel + AngularJS app?

cengkuru michael's photo
cengkuru michael
·May 13, 2016

I am building an app using AngularJS and Laravel. For a database change to take instant effect in the view, I am running a fetchResults function every second. Works, but feels wrong. What are the other ways to achieve this?