Skip to main content

State Management with NgRx

  • Chapter
  • First Online:
Build Mobile Apps with Ionic 4 and Firebase
  • 1262 Accesses

Abstract

When implementing the user story to list top stories in the last chapter, the actual data is stored in RxJS observables. Although the implementation in the ItemService is very concise, it's not very easy to understand, especially the usage of different RxJS operators. The combination of RxJS operators can be very complicated, which makes the debugging and testing very hard. It's better to use explicit state management in the app. We'll use NgRx for state management.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Fu Cheng

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Cheng, F. (2018). State Management with NgRx. In: Build Mobile Apps with Ionic 4 and Firebase. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3775-5_6

Download citation

Publish with us

Policies and ethics