RxAngular vs StateAdapt: Angular Movies 1 - App Shell

preview_player
Показать описание
StateAdapt was 50% less code than RxAngular (38 to 19 lines) in the app shell state of the Angular Movies app.

#stateadapt #rxangular #angular

0:00 Intro
1:15 Looking at RxAngular code
7:00 StateAdapt code
12:45 Template updates
19:40 Testing
22:05 Comparison
Рекомендации по теме
Комментарии
Автор

great, rxangular and state adapt great combo.
still going through state adapt.
regarding actions its not part of rx state, its just a helper, which avoid the .next call and instead of creating bunch of subject, it can grouped in action factory for ease of use

javaman
Автор

Forgot to delete imports. That's why 50% instead of 39%

mfpears
Автор

the only thing i don't like about state adapt is mandatory debug name as a first parameter
it would be great, if a default value could have been generated

javaman