proposal-types-as-comments
Angular
proposal-types-as-comments | Angular | |
---|---|---|
32 | 699 | |
2,364 | 94,541 | |
- | 0.3% | |
8.6 | 10.0 | |
about 2 years ago | 5 days ago | |
JavaScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
proposal-types-as-comments
- Proposal-Types-As-Comments - ECMAScript proposal: Types as Comments
-
Thoughts on proposal For Type Syntax in JavaScript
As per the proposal:
- Amazon Corretto 18 is now generally available
- A few misconceptions people seem to have about the Types as Comments proposal
-
[AskJS] Why not just add 'application/typescript' support for browsers.
Not runtime ones. https://github.com/giltayar/proposal-types-as-comments/issues/45
- [AskJS] What features do you think this proposal is missing vs the current typescript state?
-
Deno Is Webby
I do wonder about a future where JavaScript gets non-enforced optional type annotation syntax[1] which is and if said syntax will be slightly incompatible with TypeScript. That would be a little awkward for Deno, wouldn’t it. However I hope that if JS gets type annotation syntax that it would be a strict subset of TypeScript—or at the very least future compatible—for this very reason.
1. https://github.com/giltayar/proposal-types-as-comments
-
I'll miss you, my love ...
I assumed the joke was about this
-
Microsoft proposes type syntax for JavaScript
It's actually Gil Taylor
The proposal on GitHub
Angular
-
Angular Signals, Reactive Context, and Dynamic Dependency Tracking
/** * https://github.com/angular/angular/blob/75a186e321cb417685b2f13e9961906fc0aed36c/packages/core/src/render3/reactivity/untracked.ts#L15 * * packages/core/src/render3/reactivity/untracked.ts * **/ export function untracked(nonReactiveReadsFn: () => T): T { const prevConsumer = setActiveConsumer(null); try { return nonReactiveReadsFn(); } finally { setActiveConsumer(prevConsumer); } }
- Episode 24/15: Wiz behind the curtain, Copilot in VSCode
-
Always unsubscribe. No exceptions. Debate closed.
source: https://github.com/angular/angular/issues/46542
-
Angular Signals: Best Practices
Besides the dangers, mentioned by Angular docs (infinite loops, change detection errors), there is another thing, that might be quite nasty: effects are executed in a reactive context, and any code you call in effect, will be executed in a reactive context. If that code reads some signals, they will be added as dependencies to your effect. Here Alex Rickabaugh explains the details.
-
Understanding control flow syntax in Angular 17
In June 2023, the Angular team raised a new RFC to implement control flow syntaxes within Angular. They gave the following rationale for introducing control flow syntax:
- Episode 24/09: Testing without TestBed, SSR & Hydration
-
Preparing our Code for Zoneless Angular
For scheduling, I use awesome code I found in the Angular source code.
-
⏰ It’s time to talk about Import Map, Micro Frontend, and Nx Monorepo
Just to give you more context, I led the migration of several AngularJS applications to the newer Angular Framework. My client finally decided to make that move following the AngularJS deprecation announcement (stay up to date please 🙏)️.
-
Conventional commit specification
Link — angular/CONTRIBUTING.md
-
Angular Control Flow: the complete guide
Angular v17 was released some months ago with a ton of new features, a brand new logo and the new blog angular.dev.
What are some alternatives?
corretto-17 - Amazon Corretto 17 is a no-cost, multi-platform, production-ready distribution of OpenJDK 17
Next.js - The React Framework
browser-or-node - Check where your code is running. In the browser or in node.js environment.
qwik - Instant-loading web apps, without effort
0.30000000000000004 - Floating Point Math Examples
SvelteKit - web development, streamlined
typescript-eslint - :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
coffeescript - Unfancy JavaScript
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
sqlite3 - The fastest and correct SQLite3 module for Deno runtime
lit - Lit is a simple library for building fast, lightweight web components.