Store: Http Requests - CRUD example?

Created on 23 Apr 2018  路  6Comments  路  Source: ngxs/store

Hi everyone,

where should I call my http service and CRUD methods, e.g. in the state class or best practices? Otherwise is it possible to update this repository: https://github.com/ngxs/store/tree/master/integration with an http CRUD example or put one under the recipes section? It would be very helpful.

Kind regards,
Thomas

Most helpful comment

@amcdnl Can it please also be a recipe showing how to handle errors

All 6 comments

@ThomasLohmann - I asked a similar question yesterday on StackOverflow, @leon's answer there might be helpful.
Cheers,
Garth

@leon Perhaps we should put this in the docs under recipes?

@amcdnl but please a full CRUD example with an http service, not just Get request.

@amcdnl Can it please also be a recipe showing how to handle errors

It would be really really helpful...

genial estaba buscando un ejemplo de estos gracias

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garthmason picture garthmason  路  5Comments

paulstelzer picture paulstelzer  路  5Comments

kyusupov33 picture kyusupov33  路  3Comments

rweng picture rweng  路  5Comments

ToxicToast picture ToxicToast  路  6Comments