DEV Community

Discussion on: I'm Tracy Lee, a RxJS Core Team member and Google Developer Expert, ask me anything![FINISHED]

Collapse
 
oskarhelling profile image
oskarhelling • Edited

Hi Tracy,

A quick one: Can you point me at a what you consider a good example/pattern/best practice of how to set up a central injectable DataService -service/singleton in an Angular 5 / RxJS application that caches the information and handles the back-end communication? The use case would be a normal application that has 10% volatile data and 90% static data (databound dropdowsn and other stuff that does not change on a daily basis). CRUD operations are, naturally, a must.

For some reason, I have not found a good example for this. Can you help?

Oskar