
ngAir 84 - Creating Angular 2 UI Libraries with Kyle Ledbetter
About this episode
Creating Angular 2 UI Libraries
●
Intros to everyone and their interest in creating UI
Libraries
●
CSS and handling styles in UI libraries
●
How do you embed css in ui components for distribution?
●
How can you distribute sass/less files as well?
●
How do you manage parent/children component
communication? For example with a tabs component
●
What are the important points to check when you want to
make your component compatible with AoT?
●
How do you build the project where you dev the
components (use cli, roll your own server/build/etc)?
●
How do you make ui components that work on all
environments (browser, web workers, electron, server side, nativescript…)
●
Managing documentation for how users consume/implement
your components
●
What is your strategy for testing your components?
●
What is on your wish list that would make everyone’s
lives easier?
Tips & Picks
●
Justin
○
Example of component lib: https://github.com/ocombe/ng2-translate
○
Games!
Civilization 6 https://www.civilization.com/
Red Dead Redemption 2 http://www.rockstargames.com/videos/video/11600
Nintendo Switch https://youtu.be/f5uik5fgIaI
●
Jeff
○
Logan https://www.youtube.com/watch?v=Div0iP65aZo
○
Life Lessons Learned on AngularAir https://devchat.tv/adv-in-angular/114-aia-life-lessons-from-angular-air-jeff-whelpley-angular-remote-conf
●
Wesley
○
Change detection: http://blog.thoughtram.io/angular/2016/02/22/angular-2-change-detection-explained.html
○
AoT compilation for webpack:
■
https://www.npmjs.com/package/@ngtools/webpack
■
https://github.com/angular/angular-cli/tree/master/tests/e2e/assets/webpack/test-app
●
Kyle
○
Getcovalent.com would be my plug
○
Guardians 2! https://www.youtube.com/watch?v=2WhQcK-Zaok
●
Dmitriy
○
Nice educational project (non-profit) written with
Angular2
More from Angular Air
Mateus Carniatto joins us to talk NGXS and the power of selectors. Mateus on Twitter: https://twitter.com/c4rniatto NGXS https://www.ngxs.io/ ----------------------------------------------- Angular Ai…
In this episode Santosh Yadav comes on to dive into builders and schematics for the Angular CLI Santosh on Twitter https://twitter.com/SantoshYadavDev ----------------------------------------------- A…
Joe Eames stops by to discuss training techniques and curriculum building that is focused on enabling students to learn more effectively. Joe on Twitter https://twitter.com/josepheames Joe's FREE Fund…
Ankit Sharma joins us to share how to use Firebase in our Angular applications. Ankit on Twitter https://twitter.com/ankitsharma_007 Ankit's Blog https://ankitsharmablogs.com/ ------------------------…
Our good friend Sander Elias joins us once more, this time to go over the latest and greatest with Scully, the static site generator for Angular. Sander on Twitter: https://twitter.com/esosanderelias…