I'm just realizing that I haven't really advertised this new feature coming to TanStack Table V9 yet.
The same createFormHook/useAppForm patterns that many love in TanStack Form are coming to TanStack Table with the `createTableHook` utility.
This lets you set up common features, plugins, row models, and common shared table options across multiple tables, and lets you set up pre-bound re-usable table components directly on the table, header, and cell instances.
Some newer patterns that are not in TanStack Form yet are that the createTableHook also returns type-safe useTableContext, useHeaderContext, and useCellContext hooks that when used with `table.AppTable` and so on, let you skip having to pass the table and other table object instances as props so much. This is convenient if you want to think less about keeping track of all the typescript generics needed on every props interface. The table.AppTable, table.AppHeader, and table.AppCell also accept optional selectors so that you don't have to use another table.Subscribe (if you're optimizing that way).
We've had a few beta testers try this out and really like it, though just recently fixed some initial bugs along the way. I think this feature is in a really great spot now.
Try it out before the beta period ends if you want to give feedback on how this feature can work!
تايب سكربت تتخلى رسمياً عن جافاسكربت. الإصدار القادم (7.0) تمت إعادة كتابته بالكامل بلغة Go، وسرعة الـ Compile تضاعفت 10 مرات.
لسنوات، كان الـ Compiler الأساسي (tsc) مكتوب بـ TS نفسها ويشتغل على بيئة Node.js.
هذا كان قرار استراتيجي ممتاز في البداية عشان يقنعون المطورين يتبنون اللغة، بس هندسياً؟ كان ��ابوس للمشاريع الضخمة.
الـ JavaScript بطبيعتها Single-threaded، ومقيدة جداً في عمليات الـ CPU المكثفة.
في المشاريع الضخمة، لما الـ Codebase يتجاوز مليون سطر، الـ Build time يصير كارثة. المطور يغير سطر كود في واجهة معينة ويروح يسوي قهوة لين الـ Type checking يخلص.
الانتقال للغة Go (Native port) نسف هذي المشكلة تماماً.
اللعبة هنا في الـ Multi-threading.
مترجم اللغة صار يستغل كل الـ CPU Cores في جهازك دفعة واحدة (عبر الـ Goroutines).
كودك الكبير يتقطع ويتم تحليله بالتوازي.
الـ Overhead حق محرك V8 اختفى من المعادلة.
التأثير مو بس في راحة المطور. في بيئة الـ Enterprise، هذا يعني أن الـ CI/CD Pipelines في السيرفرات بتخلص أسرع بكث��ر. فاتورة الكلاود لعمليات الـ Build رح تنزل بشكل ملحوظ للشركات.
This expansion is shaping up to be one of the biggest ones we’ve ever released; it just needs a little longer to cook! We’ve got some plans for the lead-up to GGG Live on May 7th PDT. Stay tuned, guys 😄
5 cool sites for web developers.
https://t.co/vKCIEgP2Wm - Open source TypeScript AI Agents
https://t.co/CRFsDl48jF - Full-stack hosting for PHP, JavaScript, Python, Go...
https://t.co/zLnuppoV4i - Convert files to any format & API
https://t.co/9U4oSGmP4C - Easy to use API client
https://t.co/CU4uO5LkFU - Design and animation to code
Open-source, web-based desktop environment (DE) for Windows 10/11 with tiling window management, customizable widgets, themes, and taskbar layouts https://t.co/lx7HyQ0OKU
Org charts, file trees, tournament brackets—all with pure CSS. No canvas. No SVG. No JS. Just flexbox and pseudo-elements.
Let's break it down, starting with the foundational left-to-right tree, where only a couple dozen lines of CSS can transform this ... into this ...
🧵
What is an API Gateway?
API gateways are a crucial component in the architecture of microservice applications.
They act as a reverse proxy, routing incoming requests to the appropriate backend service and abstracting the underlying implementation details from the client.
One of the primary benefits of using an API gateway is the ability to manage and optimize the communication between different services, particularly when it comes to:
• Security
• Caching
• Rate limiting
It also provides a single endpoint for external clients to access, simplifying the integration process and minimizing the number of round trips required to retrieve data.
Some popular options for API Gateways are:
• YARP
• Ocelot
• Traefik
• Envoy
There are also cloud gateways such as Azure API Gateway and Amazon API Gateway.
Here's how you can build an API Gateway in .NET: https://t.co/ItNKGH1xST
What's your choice for an API gateway?
---
Sign up for the .NET Weekly with 75K+ other engineers, and get a free Clean Architecture template: https://t.co/FVOkuBS3nJ