We're in the process of moving FROM https://gitter.im/dart-lang/angular – if you're looking for old conversations
pageloader
to null safety. If you're using pageloader
, please checkout the prerelease to see if there are any issues. You can drop it in directly without any code changes.
analyzer
. That is the last problem for it.
analyzer
to version 4. The code (and even the logic) might have to be changed and merge conflicts might happen.
angular_components
, only null-safety
and new-dev
are considered active branches. The rest were all sort of temporary branches cut out so people can just drop our package in without any changes to the code.
new-dev
and null-safety
, usually how it works is that I migrate files in null-safety
one by one, then I check dukefirehawk's work in new-dev
, see if any of us missed anything crucial, then commit. This is also why you often see commits marked as "authored by dukefirehawk, commited by GZGavinZhao".
new-dev
is being hand-merged into null-safety
bits by bits.
angular_components
is a very complex library (as seen through the struggling of dart migrate
) and sometimes it can be hard to wire the logic around, especially when the original authors didn't write it thinking that someone outside of Google will be migrating the entire project to null safety.
main.dart
is attached to the index.html
file so if you separate web folders into dev
and prod
you will end up having two index.html and any web asset you use
ngif
for minor variations in HTML.
Suppose you have directive like this that is looking for @Host() HostService
.
@Directive(selector: 'child-directive')
class ChildDirective {
ChildDirective(@Optional() @Host() HostService? hs) {
print(hs);
}
}
App template:
<!-- component providing HostService -->
<child-directive></child-directive> <!-- null -->
App template:
<!-- component does NOT provide HostService -->
<parent-cmp> <!-- Provides: HostService -->
<child-directive></child-directive> <!-- Instance of 'HostService' -->
</parent-cmp>
mockito
to mock Router objects?
Host
Component and in the children component you can inject Artist
as in the example
tree
and view
, and I don't know if this is anywhere explained. Or is there?
mockito
won't mock Router
objects.