Migrating from NGRX to NGXS in Angular 6

Josh Hicks
8 min readFeb 20, 2019

How do you eat an elephant?


If you’re not familiar with modern state management tools this article will probably not be the best place to start. This article assumes that you have done your research on both NGRX and NGXS and are just looking for a guide to migrate things over. I will mention comparison points when relevant, but that is not the purpose of this guide. So, with that disclaimer out of the way, let’s begin!