ngFanatic eженедельник

Rustam
Rustam
Nov 6 · 1 min read

06.11.19

Релизы:

angular: 8.2.13, 9.0.0-rc.0 (2019–10–31)
angular-cli: 8.3.14, v9.0.0-rc.0
angular material2: 8.2.3, 9.0.0-rc.0

Статьи:

Runtime environment configuration with Angular (Frederik Prijck) Простая конфигурация приложения в рантайме через APP_INITIALIZER.

Converting a Promise into an Observable (Frederik Prijck) Простые шаги для обработки Promise в Observable. Тут про defer, new Observable, AbortController.

Transloco’s New Dev Tools Make i18n in Angular Easy as Pie (Netanel Basal) Появился extractor, такой же как ngx-translate, только в дополнение с поиском. Ну и самое крутое что есть — вебпак плагин который может закидывать ключи в файлы перевода еще на этапе разработки. Scopes в переводах из коробки. Еще и валидация появилась =). Часто возникают вопросы как мержить файлы перевода, так пожалуйста — transloco: join, split. И в добавок: “Оптимизатор”, пока вырезает лишь комменты для переводчика. Выглядит все очень годно.

Migrate your Angular library to Jest (Kevin Kreuzer)

tap, map & switchMap explained (Fabian Gosebrink)

How to Avoid Observables in Angular (Michael Hladky) боли и страдания в Angular связаны прежде всего с не пониманием как работает rxjs. Большая статья про это.

Enterprise Angular (Manfred Steyer) Выпущена целая книгп про DDD, Nx Monorepos и Micro Frontends.

Support for generic task execution, displaying affecting projects, new commands for schematics discovery, and more in Nx 8.7
(Brandon Roberts)

    Rustam

    Written by

    Rustam

    Angular Fanatic https://t.me/ngFanatic https://twitter.com/irustm

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade