There are a lot of examples of Reactive Forms, but not many explainations. In fact, there seem to be more “this or that and why” articles than anyone would ever need. But I find understanding “how” it it works to be a more effective teaching method. I’ve outlined how I’ve come to understand Reactive Forms and that understanding helps me put them together faster and with fewer frustrating errors. Also, I find it’s a lot easier to explain what you are doing in code rather than going back and forth between piles of directives in HTML and related coat-hangers and duct-tape in code.
Angluar CLI is a fantastic tool that comes with Webpack already installed and configured. If you’ve never used Webpack, you may not know how it works, but that’s OK, if you know how Angular works, you only need to know how to get your environmental variables to swap out during a production,development or custom build. It’s actually super easy and I’ve included directions on exactly how to do it.
Interactions between components has been more and more of a necessity. In a component, we can easily bind functions and even send data back to the parent within this function (http://morrisdev.com/2016/08/angular-components-with-bound-functions-using-typescript/)However, triggering an event in the child by the parent is a big more convoluted. You can see several options here http://stackoverflow.com/questions/37439300/communicating-events-from-parent-to-child-in-angularjs-components and they are all […]