angulardart-community / site-angulardart Goto Github PK
View Code? Open in Web Editor NEWAngularDart community-maintained documentation site!
Home Page: https://angulardart.xyz
AngularDart community-maintained documentation site!
Home Page: https://angulardart.xyz
The setup guide for VS code on https://angulardart.xyz/guide/setup#visual-studio-code defaults to the Windows environment.
Many people use WSL/WSL2 with VS CODE by default. The instructions do not work properly for WSL setup.
From URL: https://angulardart.xyz/api
Many of the links in Angular library documentation (https://pub.dev/documentation/angular/6.0.1/angular/angular-library.html) do not work! They throw 404 Not Found errors.
Example links which did not work:
https://pub.dev/documentation/angular_compiler/1.0.1/v1_src_metadata/AfterChanges-class.html
https://pub.dev/documentation/angular_compiler/1.0.1/v1_src_metadata/AfterContentChecked-class.html
From URL: https://angulardart.xyz/cheatsheet/
<code-excerpt>
is getting a bit out of control.
All dependencies are very old and some have security issues pointed out by Dependabot.
The npm dependencies are not urgent as we don't actually use them in the building process (very little even if we do use them). The ruby dependencies (gems) should be updated first. Most of the blocking issues pointed out in the Gemfile have already been resolved.
This is medium priority, but since I'm not too familiar with how gem works and dependencies are likely going to break the current site, this might take some time.
Just putting it here so that in case I go bananas with this stuff, someone might be able help me out. If this is not closed after a week, please help. Use the ready-for-publish
branch and focus on this action particular.
In Angular 7, the pipe syntax has been changed greatly.
Of course, there are also other syntax changes, but I think this one needs to be updated most urgently as this is directly breaking.
code_excerpter
is the one to blame.
I have adapted code_excerpter
locally to allow it to work with Hugo anyway, so it should be a pretty quick fix.
Apparently we have to get rid of any reference to Google for our site to appear on dart.dev.
In cases where this can have negative effects, at least make it clear that this is now being maintained by the community and not related to Google, neither officially or unofficially.
Finally fixed toh-6 for the new Angular version. Now we can proceed with this.
is there any communication platform like discord or slack for angular dart?
URL: https://angulardart.xyz/guide/router/
i try to follow tutorial https://angulardart.xyz/tutorial/toh-pt5 and try to define route bring me to guide/router/
but i can`t implement and receive the following error 👍
Because no versions of ngcompiler match >=2.1.2 <2.1.2+0 and ngcompiler >=2.1.2+0 <3.0.0-dev.0 depends on analyzer
^4.2.0, ngcompiler >=2.1.2 <3.0.0-dev.0 requires analyzer ^4.2.0.
And because angular_router >=3.0.0 depends on angular ^7.0.0 which depends on analyzer ^2.0.0, ngcompiler >=2.1.2
<3.0.0-dev.0 is incompatible with angular_router >=3.0.0.
And because angular_router <2.0.0-alpha+16 requires SDK version >=1.24.0 <2.0.0 or >=2.0.0-dev.3.0 <2.0.0 and
angular_router >=2.0.0-alpha+24 <2.0.0 depends on angular ^6.0.0-alpha+1, if ngcompiler >=2.1.2 <3.0.0-dev.0 and
angular_router <2.0.0-alpha+16 or >=2.0.0-alpha+24 <2.0.0 or >=3.0.0 then angular ^6.0.0-alpha+1.
And because angular_router >=2.0.0-alpha+23 <2.0.0-alpha+24 depends on angular ^6.0.0-alpha and angular_router
=2.0.0-alpha+22 <2.0.0-alpha+23 depends on angular ^5.3.0, if ngcompiler >=2.1.2 <3.0.0-dev.0 and angular_router
<2.0.0-alpha+16 or >=2.0.0-alpha+22 <2.0.0 or >=3.0.0 then angular ^5.3.0 or ^6.0.0-alpha.
And because angular_router >=2.0.0-alpha+21 <2.0.0-alpha+22 depends on angular ^5.2.0 and angular_router
=2.0.0-alpha+20 <2.0.0-alpha+21 depends on angular ^5.1.0, if ngcompiler >=2.1.2 <3.0.0-dev.0 and angular_router
<2.0.0-alpha+16 or >=2.0.0-alpha+20 <2.0.0 or >=3.0.0 then angular >=5.1.0 <6.0.0 or ^6.0.0-alpha.
And because angular_router >=2.0.0-alpha+19 <2.0.0-alpha+20 depends on angular ^5.0.0 and angular_router
=2.0.0-alpha+18 <2.0.0-alpha+19 depends on angular ^5.0.0-beta+3, if ngcompiler >=2.1.2 <3.0.0-dev.0 and
angular_router <2.0.0-alpha+16 or >=2.0.0-alpha+18 <2.0.0 or >=3.0.0 then angular >=5.0.0-beta+3 <6.0.0 or
^6.0.0-alpha.
And because angular_router >=2.0.0-alpha+16 <2.0.0-alpha+18 depends on angular ^5.0.0-beta and angular >=0.9.0
<5.0.0-beta+1 requires SDK version <2.0.0 or >=2.0.0-dev.3.0 <2.0.0, if ngcompiler >=2.1.2 <3.0.0-dev.0 and
angular_router <2.0.0-∞ or >=3.0.0 then angular >=5.0.0-beta+1 <6.0.0 or ^6.0.0-alpha.
And because angular_router ^2.0.0 depends on angular ^6.0.0 which depends on logging >=0.9.0 <0.12.0, if ngcompiler
=2.1.2 <3.0.0-dev.0 and angular_router any then logging >=0.9.0 <0.12.0.
Because ngforms >=4.1.1 <5.0.0-dev.0 depends on ngdart ^7.1.1 which depends on ngcompiler ^2.1.2, ngforms >=4.1.1
<5.0.0-dev.0 requires ngcompiler ^2.1.2.
Thus, if ngforms >=4.1.1 <5.0.0-dev.0 and angular_router any then logging >=0.9.0 <0.12.0.
And because build_runner >=2.0.0 <2.4.0 depends on logging ^1.0.0, one of ngforms >=4.1.1 <5.0.0-dev.0 or
angular_router any or build_runner >=2.0.0 <2.4.0 must be false.
And because build_runner >=2.4.0 requires SDK version >=3.0.0-134.0.dev <4.0.0 and angular_app depends on ngforms
^4.1.1, angular_router is incompatible with build_runner >=2.0.0.
So, because angular_app depends on both angular_router any and build_runner ^2.2.0, version solving failed.
i can finish tutorial on routing, olease update
thank you
Would like to update Lifecycle page.
AfterChanges
example.... please comment what changes you would like ...
DoCheck
is called so many times. What change detection cycle means.This can be confusing to users:
Detect and act upon changes that Angular can’t or won’t detect on its own
What are these undetectable changes.
ChangeDetectionStrategy
.markForCheck
and markChildForCheck
reference pages.)The "Build an AngularDart & Firebase Web App" link at the bottom (first bullet point of the Firebase section) of https://angulardart.xyz/guide/deployment#firebase goes to a 404 page (https://codelabs.developers.google.com/codelabs/angulardart-firebase-web-app/)
example code: "lib/src/hero_list_component.html (add)" on https://angulardart.xyz/tutorial/toh-pt6#add-the-ability-to-add-heroes contains multiple expressions for the (click) event: <button (click)="add(heroName.value); heroName.value=''"> causing compilation errors. need to move the logic into the "add()" function.
same problem for https://angulardart.xyz/tutorial/toh-pt6#add-the-ability-to-delete-a-hero for the delete example: <button class="delete" (click)="delete(hero); $event.stopPropagation()">x. need to move the logic into the delete() function.
Up for grabs issue. Probably an easy fix, but I'm focusing on migrating examples to git submodules now, so just putting it here in case someone has the time for it.
Analyzing server-communication... 3.9s
error • lib/src/toh/hero_service.dart:23:40 • The argument type 'String' can't be assigned to the parameter type 'Uri'. • argument_type_not_assignable
error • lib/src/toh/hero_service.dart:38:41 • The argument type 'String' can't be assigned to the parameter type 'Uri'. • argument_type_not_assignable
error • lib/src/wiki/wiki_smart_component.dart:27:20 • The method 'debounce' isn't defined for the type 'WikiSmartComponent'. Try correcting the name to the name of an existing method, or defining a method named 'debounce'. •
undefined_method
error • lib/src/wiki/wiki_smart_component.dart:30:13 • The method 'switchMap' isn't defined for the type 'WikiSmartComponent'. Try correcting the name to the name of an existing method, or defining a method named 'switchMap'. •
undefined_method
info • lib/src/wiki/wiki_smart_component.dart:3:8 • Unused import: 'package:stream_transform/stream_transform.dart'. Try removing the import directive. • unused_import
5 issues found.
Instructions:
git submodule update --remote --merge
. If this doesn't work, search for "how to update git submodules". After that, commit the new changes in this repo (git add --all && git commit
) and submit a PR to this repo.From URL: https://angulardart.xyz/cheatsheet/
The table is broken again :(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.