Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
NativeScript for Angular Mobile Development

You're reading from   NativeScript for Angular Mobile Development Creating dynamic mobile apps for iOS and Android

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781787125766
Length 392 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Nathanael J. Anderson Nathanael J. Anderson
Author Profile Icon Nathanael J. Anderson
Nathanael J. Anderson
Nathan Walker Nathan Walker
Author Profile Icon Nathan Walker
Nathan Walker
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Get Into Shape with @NgModule 2. Feature Modules FREE CHAPTER 3. Our First View via Component Building 4. A prettier view with CSS 5. Routing and Lazy Loading 6. Running the App on iOS and Android 7. Building the Multitrack Player 8. Building an Audio Recorder 9. Empowering Your Views 10. @ngrx/store + @ngrx/effects for State Management 11. Polish with SASS 12. Unit Testing 13. Integration Testing with Appium 14. Deployment Preparation with webpack Bundling 15. Deploying to the Apple App Store 16. Deploying to Google Play

@ngrx/store + @ngrx/effects for State Management

Managing state in any app can become troubling as the app scales over time. We want to have full confidence over the predictability of our app's behavior and getting a hang of its state is key to gaining that confidence.

State can be broadly defined as the particular condition that someone or something is in at a specific time. With regard to our app, the state can encompass whether our player is playing or not, whether the recorder is recording or not, and whether the track list UI is in mixing mode or not.

Storing state in a single spot allows you to know exactly what the state of the app is at any given moment. Without a single store, you usually wind up with state buried throughout different components and services, which often leads to two or more different versions of state as features are built...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime