One data grid for JavaScript, React, Vue & Angular. Sorting, filtering, virtualization, pinning, and CSV export included. Early access $199 $349 → [Get it now]

How to use actions in NgRx

NgRx actions represent unique events in your Angular application that trigger state changes through reducers and side effects. As the creator of CoreUI, I’ve built enterprise NgRx applications where well-structured actions provide clear audit trails of all state mutations.

The most maintainable approach uses createAction with strongly-typed props for type-safe action creators.

Read More…

How to define actions in Vuex

Vuex actions handle asynchronous operations and complex business logic before committing mutations to change application state in Vue applications. As the creator of CoreUI, I use Vuex actions extensively for API calls and async operations. The most effective approach is defining actions as functions that receive a context object with commit, dispatch, and state properties. This provides a clean separation between async operations and state mutations while maintaining predictable data flow.

Read More…