Our great sponsors
|6 days ago||4 days ago|
|Apache License 2.0||BSD 3-clause "New" or "Revised" 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.
Ten Years of TypeScript
8 projects | news.ycombinator.com | 1 Oct 2022
> But they admitted namespaces, enums
And decorators. But this was very early on and they won’t ever do it again unless there’s a drastic change on principle and probably a reorg of global proportion. They categorically reject anything with runtime implications now, and to the point of decorators are actively working to align them with the standard as it’s approaching stability.
> and interfaces into the language (the latter becoming more and more confusing as type aliases got more expressive) […] Is "as", "is", or "satisfies" expression-level?
No. All of this is completely separate from the runtime and on a standards course to be treated effectively as comments.
> But the enums!
I’m one of the minority who actually likes TS enums, but I strongly suspect they’ll be deprecated, alongside namespaces, as soon as there’s general consensus around types as comments. The TypeScript team considers these mistakes and would very much like to be able to drop them. I’d welcome that too even though I quite like enums.
The fact is TS has considerable backwards compatibility expectations, and aligning their mistakes with their goals is great on principle but something which would require thousands upon thousands of hours of labor for people to accommodate.
You can snipe all you want, but if you think it’s that easy to resolve maybe I can direct you to https://github.com/microsoft/TypeScript/pulls
I’m not affiliated with the team in any way but I’m almost totally certain they’d welcome a contribution that gets them closer to their stated principles where historical designs are entrenched, without breaking workflows for thousands of people and interrupting releases for millions.8 projects | news.ycombinator.com | 1 Oct 2022
TypeScript has lots of great features and a few bizarrely bad ones. It’s great in spite of itself.
I’m curious, how many people are using TSC only for type-checking, and a different system (eg esbuild or ts-node) to actually compile/bundle/execute their code?
I think TypeScript would be even stronger if they focused fully on type-checking, and relaxed some of those dogmatic restrictions (and the many, many confusing config options) imposed by the JS code generator.
[AskJS] Do you consider ESM to have more benefits than drawbacks in node?
Because it's implicit, CJS creates a bunch of resolution issues with Typescript, to the point where if you want to code for the browser, you can't easily can't and have to either recompile with something like webpack to rewrite the module resolution, or add .js to all your TS imports, which already looks weird (you'd think you're importing the .ts files). sip.js has that issue.
Announcing TypeScript 4.9 Beta
2 projects | reddit.com/r/typescript | 24 Sep 2022
Peço ajuda numa oportunidade do trabalho
3 projects | reddit.com/r/brdev | 23 Sep 2022
11 projects | news.ycombinator.com | 23 Sep 2022
You can't actually narrow `unknown` down to a structure yet, as you have no way to test whether `property in unknown` or not.
Well, until this is released! https://github.com/microsoft/TypeScript/pull/50666
How To Choose The Right Framework For Your Next Node.js App.
8 projects | dev.to | 23 Sep 2022
TypeScript ready: we work hard to maintain a TypeScript type declaration file so we can support the growing TypeScript community.
Learn how to unleash the full potential of the type system of TypeScript
11 projects | news.ycombinator.com | 20 Sep 2022
Write typesafe APIs with zodios
2 projects | dev.to | 17 Sep 2022
Decorator creating with API
2 projects | reddit.com/r/typescript | 17 Sep 2022
4 projects | reddit.com/r/programming | 30 Sep 2022
I also would like an even lighter framework, but this is much better than Electron so we should give it that at least. In practice, using the WebView is not nearly as much problem IMHO as it used to be. The engine is normally updated with the OS so it is fairly up-to-date. Have you had problems using the WebView? Several new frameworks are trying that, like Rust's Tauri and Go's Wails... I myself find Flutter, as other commenter mentioned, a very good framework as well, but if you want to use the wealth of the JS environment, this seems like a pretty decent choice.
Determining a business model for an open source mobile app with proprietary hosting.
2 projects | reddit.com/r/opensource | 28 Sep 2022
So i think this is your option: Put all the free time learning app development. I suggest using https://flutter.dev/
Edge – Closing a 30 pixel gap between native and web
6 projects | news.ycombinator.com | 27 Sep 2022
5 projects | reddit.com/r/halifax | 27 Sep 2022
Google Flutter: similar to Cordova in that it is cross-platform, but the programming language you'll need to learn here is Dart. While I've personally found Flutter to be a bit more annoying, it is a much better experience for the end user.
Command to publish an app to TestFlight
2 projects | dev.to | 22 Sep 2022
In our case, since we are using Flutter, the single line command to build and publish to TestFlight is:
My first Flutter project as an long time Angular developer
4 projects | dev.to | 19 Sep 2022
This is what I missed the most from Angular. I am a big one of integration testing in the frontend. For this I prefer to use Cypress. Cypress is unfortunately not usable with Flutter, resp. only via detours and by far not as comfortable as Angular. With the integration_test package similar results can be achieved and hot reload seems to be possible. Unfortunately I failed there. For the current project we have also set the BLoC package and for a certain part of the state we need the hydrated_bloc package. Unfortunately at the moment it seems that no integration tests can be realized: https://github.com/flutter/flutter/issues/96939
Is React Native of Flutter Better for Developing Mobile Apps?
2 projects | dev.to | 18 Sep 2022
We will start with Flutter. We are talking about a cross-platform framework, which was created by Google. It was made available to the public back in 2017, and its popularity has risen significantly since. It allows you to create an application for numerous platforms by just developing one single code. Before that, companies would need to invest additional money into other tools and teams of programmers.
Seeking suggestions on what language to start our 12yo son on
4 projects | reddit.com/r/learnprogramming | 17 Sep 2022
Once he learns the basics of Dart he can use it to make amazing cross-platform applications using Flutter.
Which framework would you recommend for creating multiplatform desktop apps (Windows/Mac/Linux)?
5 projects | reddit.com/r/learnprogramming | 15 Sep 2022
I made a batch image generator app using Flutter for Linux and Windows, tell me what you think?
2 projects | reddit.com/r/FlutterDev | 14 Sep 2022
- There is no support for multiwindow yet (issue)
What are some alternatives?
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
svelte-capacitor - Build hybrid mobile apps using Svelte and CapacitorJS with live reloading on Android and iOS!
WPF - WPF is a .NET Core UI framework for building Windows desktop applications.
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
Maui - The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier
capacitor - Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
zod - TypeScript-first schema validation with static type inference
fyne - Cross platform GUI in Go inspired by Material Design
beamer - A routing package built on top of Router and Navigator's pages API, supporting arbitrary nested navigation, guards and more.