Загрузка...

Selectors in NgRx | Use of NgRx Selectors in Angular

Selectors are the pure function that is used for selecting slices of data from the store. Selectors query to the store and fetch the data and as the store update, it will notify the selectors and the same can be transferred to the component. When using the createSelector and createFeatureSelector functions @ngrx/store keeps track of the latest arguments in which your selector function was invoked. Because selectors are pure functions, the last result can be returned when the arguments match without reinvoking your selector function. This can provide performance benefits, particularly with selectors that perform expensive computation. This practice is known as memorization. 00:00 Intro 00:20 What is a selector 01:36 Use simple selector in application 04:08 Create action as es6 05:14 Advance filter with two sets of data 08:35 FeatureSelector 09:32 Selectors with properties 11:25 Selector Memoization GitHub: https://github.com/funOfheuristic/ngrx-tutorial/tree/ngrx-selectros Playlists: All about NgRx: https://bit.ly/2Qu0Ucu Angular Performance improvement: https://bit.ly/3fFa1Q8 #NgRx #NgRxSelectors #Selectors Discord: https://discord.gg/4QZU7KB Slack: http://bit.ly/2RXPcEK You can support me on Patreon: https://www.patreon.com/funofheuristic Equipment used for Video: Microphone (AKG D5): https://amzn.to/3b1gi5R Audio Interface (EVO 4): https://amzn.to/327tnGJ Camera(Canon 200D): https://amzn.to/3ja1Pr9 Thanks for watching...

Видео Selectors in NgRx | Use of NgRx Selectors in Angular автора Тайпскрипт Документация
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки