New React Aria release! ๐
๐ Autocomplete alpha
๐ฝ๏ธ CSS transition support in addition to keyframes
๐ Custom Calendar first day of week
๐งช Unit test utility package for ARIA patterns
๐ฏ Removed custom hit testing in usePress
๐ and plenty of bug fixes!
react-spectrum.adobe.com/releases/202...
15.01.2025 19:35 โ ๐ 55 ๐ 4 ๐ฌ 1 ๐ 1
JavaScript Frameworks - Heading into 2025
I admit I wasn't sure I'd be writing this article this year. It's easy to write articles that excite...
Time for my annual look at the state of JavaScript Framework development.
"JavaScript Frameworks - Heading into 2025" #DEVCommunity #javascript #WebDev dev.to/this-is-lear...
06.01.2025 17:16 โ ๐ 122 ๐ 30 ๐ฌ 3 ๐ 8
๐ Happy New Year!
I discovered a lot of very cool dev stuff in 2024, from libraries to devtools to educational resources. Thought itโd be fun to share them all, to help kickstart your 2025!
Letโs go through the list. ๐งต
01.01.2025 17:12 โ ๐ 462 ๐ 70 ๐ฌ 16 ๐ 8
Red XIII totally changing his voice midgame wasn't on my bingo card ๐ต
01.01.2025 20:10 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
TypeScript function that returns corresponding flag emoji for alpha2 code:
export function getFlagEmoji(alpha2: string) {
return alpha2
.toUpperCase()
.split('')
.map(char => String.fromCodePoint(127397 + char.charCodeAt(0)))
.join('');
}
๐จโ๐ป Dev tip: Display flag emoji for given country code
I love using chatgibidi for problems like these where there is no point trying to figure it out yourself as it is not really an interesting/educational problem to solve.
30.12.2024 10:38 โ ๐ 4 ๐ 0 ๐ฌ 0 ๐ 0
If you see bunnies you know there is treasure
29.12.2024 19:19 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
The worst part of After Eight is all the evidence it leaves behind
27.12.2024 18:19 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0
Perhaps an unpopular opinion:
<StrictMode> causes more issues than it solves.
26.12.2024 21:28 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0
a man in white pants is cleaning a living room floor
Alt: a man in white pants is cleaning a living room floor.
๐งน Christmas cleaning continues:
Removed large barrel file that re-exported all our UI kit components and now Vite can split our app much more optimally
23.12.2024 12:43 โ ๐ 4 ๐ 0 ๐ฌ 0 ๐ 0
Feels good man.
Just removed all `forwardRef`s from my current work project
23.12.2024 12:32 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0
CI checks are red,
PRs are stuck,
Tests keep on failing,
Time to level up.
20.12.2024 16:26 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
I've been debugging CI issues the whole day... ๐
How's your Friday going?
20.12.2024 15:02 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
The right one
I often hold my phone in my left hand and the floating button can block scrolling when my thumb accidentally hits it while doing the scroll gesture
18.12.2024 07:06 โ ๐ 3 ๐ 0 ๐ฌ 0 ๐ 0
The secret is to use a lib that supports the `styled` api, like pandacss
16.12.2024 14:25 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
Updated the issue description
16.12.2024 10:20 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0
Okay this is super embarassing... I swear I tried to use `useDeferredValue` with `useReadQuery` and it didn't work but now that I try it in my repro instead of the project code it actually works and the suspense fallback is not shown ๐
However the `isPending` flag doesn't seem to work ๐ค
16.12.2024 10:06 โ ๐ 2 ๐ 0 ๐ฌ 2 ๐ 0
We didn't use to have these in Finland but some years ago they arrived and they poop everywhere and basically ruin all the parks
14.12.2024 20:21 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
I did this in a consulting project where they required me to input my hours in three different systems where in one of the systems I had to manually sum the weekly hours myself
Every week I added one extra billable item just for "Marking the hours"
11.12.2024 15:13 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0
Maybe I'm doing it wrong but adding `.toPromise` doesn't seem to help ๐
I tried even to update to React v19 to get async transition support but that didn't change anything.
09.12.2024 20:14 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0
@tkdodo.eu @manuelschiller.bsky.social I would like to better understand what "but are short-circuited by useSyncExternalStore used by the router" actually means in practice? Does it mean that trying to stop router driven suspension with transitions is not a viable solution in Tanstack Router?
09.12.2024 20:06 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0
Thanks for the input @tkdodo.eu ๐
We already have a custom version of `useSuspenseQuery` that handles the re-suspension issue but @phry.dev is it possible to do something similar with `useReadQuery`? Or what would be the best pattern to use Suspense with loaders that are driven by url params?
09.12.2024 19:49 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0
Thanks for the tip ๐
I'll come back to you tomorrow with the results when I'm back at work ๐
09.12.2024 17:24 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0
What is the canonical use case for Suspense to show the fallback again after the initial suspension?
Basically I always want to show an inline pending indicator instead of replacing the whole UI with the fallback.
Having to wrap every state update with `startTransition` feels backwards to me...
09.12.2024 14:08 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
Is there a way to use `useDeferredValue` with `useReadQuery` in way that the we only ever suspend on the initial render and all subsequent changes to `queryRef` just maintain the old UI and gives some `isSuspending` flag that we can use for inline pending UI?
09.12.2024 13:57 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
@tannerlinsley.com @phry.dev any tips on how to skip suspending when I update search params in Tanstack Router which re-triggers `preloadQuery` in the `loader` that returns `queryRef` that is then read with `useReadQuery`?
Wrapping `navigate` with `startTransition` doesn't seem to help ๐ค
09.12.2024 13:52 โ ๐ 1 ๐ 0 ๐ฌ 2 ๐ 0
Final Fantasy is one of my all time favorite game franchises but if you have not played any FF games before it can be a bit of an acquired taste
Currently playing FF7 Rebirth and loving it
08.12.2024 17:02 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
Remedy games like Control and Alan Wake 2 are phenomenal story-wise and the graphics/gameplay is gorgeous
Latest God of War games are incredible but the boss battles can be challenging
Spider-Man games are one of my favorites. So fun to swing around NYC
Ratchet and Clank is beautiful and fun
08.12.2024 16:46 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0
Happy Independence Day Finland ๐ซ๐ฎ
06.12.2024 19:28 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
React at Meta https://mattcarrollcode.com
Chief Punkrocker @skylight.social
Internet stuntman ๐คธโโ๏ธ justinjackson.ca
โก Bootstrapping, SaaS, podcasting, calm companies
๐๏ธ Co-founder of Transistor.fm (podcast hosting).
Frontend & mobile @ http://swan.io โข author of react-native-(permissions | localize | bootsplash | edge-to-edge)
"Thou shalt not make a machine to counterfeit a human mind."
โ Frank Herbert
a website, betrayed by god. queer xvx. free palestine. [he/him]
https://stillness.digital && https://strange.website && https://henry.codes
Senior Web Engineer at Spotify. Prev, Riot. Next, React, Svelte, C++ when I'm feeling nasty. Beer, whiskey, coffee snob. Book lover. Jr Developer for life.
Rstack is a lightning-fast JavaScript toolchain that includes Rspack, Rsbuild, Rslib, Rspress, Rsdoctor, Rstest and Rslint.
Open Sourcerer. Co-author of the Extensible Web Manifesto. Creator of Bundler, Cargo and Ember.js. Father of wykittens and wifelette's husband. he/him
Building Stacks, Home & Craft. Buddyโs best friend.
Independent OSS engineer. Westmรผnsterlรคnder.
https://github.com/stacksjs/stacks
open source & standards person from JavaScriptLand
Messing with Rust and cryptography
#1 at funny. powerful + dangerous. diet coke. queen of graphql. eng @ pierredotco. prev tech lead/staff software eng @ twitter, prev @ medium. bffs w/ @msol.io
she/her
https://thesachee.carrd.co/
All things GraphQL Federation @ApolloGraphQL
Chocolate Droid Officer ๐ซ
Solutions Architect @ Apollo Graphql