mln4574.bsky.social
@mln4574.bsky.social
Reposted
📚 Wrote a piece about how optimistic updates are hard because of edge cases, especially when updates happen concurrently, and how to address them in React Query. It’s mostly one line of code to add, but knowing which one that is is the hard part 😄:
Concurrent Optimistic Updates in React Query
How to build optimistic UI that is resilient to race conditions, even when multiple mutations update the same entity concurrently.
tkdodo.eu
April 28, 2025 at 6:02 PM
Reposted
Over the last 6 years I have observed mistakes that also easy to avoid in #Flutter and #dart
I have written top 15 of them in a very comprehensive blog post.
March 25, 2025 at 4:41 PM
Reposted
🏡 Dreaming of a stable home in Cairo—no more rent anxiety, just peace for my family.
🔗 gofund.me/8c4b977e

Longing to live in peace again, like before Gaza’s war.
Trusting Allah’s timing, but taking action too.

Every share or prayer helps! 🙏

#gaza #supportgaza #gazarefugeehope #faithinaction
Donate to Help us rebuild stability: A warm home in Cairo, organised by Khader Murtaja
Dear Friends, Strangers, and Kind-Hearted Souls, My name is Khader … Khader Murtaja needs your support for Help us rebuild stability: A warm home in Cairo
gofund.me
March 25, 2025 at 9:33 PM
Reposted
Some new Zustand users might not know this, so I'm posting it again. zustand/vanilla is just 23 loc.
March 24, 2025 at 12:11 AM
Reposted
I've been going deep on @clashofclans.bsky.social lately and recreated their buttons (to the best of my ability) in CSS with a fun lil web component on @codepen.io!

codepen.io/cassidoo/pen...
Clash of Clans style button web component
If you want to make Clash-style buttons on your webpages, use this component!...
codepen.io
March 24, 2025 at 12:36 AM
Reposted
#flutterdev here comes the final word on Flutter architecture ;-)
blog.burkharts.net/practical-fl...
Flutter Architecture Simplified
Explore Flutter architecture, state management, and design principles for scalable, testable apps with minimal boilerplate code
blog.burkharts.net
February 26, 2025 at 9:59 PM
Reposted
#flutterdev more reasons to check out watch_it, no need for StatefulWidgets just to create controllers and disposal is automatic
February 25, 2025 at 11:26 PM
Reposted
Did you know?

By registering a ValueNotifier listener, you can perform various side effects such as:

✅ Updating a ScrollController, PageController, AnimationController, etc.
✅ Showing a dialog
✅ Navigating to another route

Note: This works with ChangeNotifier, too. 💡
February 27, 2025 at 9:12 AM
Reposted
A Deep Dive on ValueNotifier

youtu.be/_J4siJeIo8I
A Deep Dive into ValueNotifier
YouTube video by Hungrimind
youtu.be
January 26, 2025 at 10:00 PM
Reposted
One of my favorite things about Signals in @flutter.dev is you can build however you want.

Here is an example of using just signal primitives to render everything starting at runApp.

dartpad.dev?id=f5a9c7151...
January 29, 2025 at 7:53 PM
Reposted
Subtle things to make your shaders better:

1) Anti-aliasing - Real life is not limited to pixels so unless you're specifically going for a pixelated style, you should be anti-aliasing everything!
mini.gmshaders.com/p/antialiasing
January 27, 2025 at 5:26 PM
Reposted
Flutter network gist has been growing!

Looking for more active #FlutterDev content creators Please comment here or in the gist.
gist.github.com/TahaTesser/e...
January 27, 2025 at 8:50 AM
Reposted
Work is being done to finally bring this to #FlutterDev. Current pkgs all have issues, also they can cause performance issues, a GPU using version is needed. Have not tried the Cupertino_rrect, if I have time I will check it out and add it to this study and comparison github.com/rydmike/squi...
GitHub - rydmike/squircle_study: A Flutter study and comparision of different Squircle ShapeBorder options
A Flutter study and comparision of different Squircle ShapeBorder options - rydmike/squircle_study
github.com
January 28, 2025 at 12:04 PM
Reposted
New post about how to create Async @preactjs.com signals! 👀

rodydavis.com/posts/async-...
Async Preact Signals
How to create an asynchronous Preact signal
rodydavis.com
January 29, 2025 at 4:37 AM
Reposted
Something that I've finally got time to play with was jnigen. I heard about it from @youse.fi last year and wanted to see if I can migrate one of the plugins and skip method channels.
It worked pretty well so I wrote about it occasionalflutter.substack.com/p/native-int...

#Flutter #FlutterDev
Native interop with Kotlin/Java in Flutter
Got quite excited to use jnigen to generate Kotlin/Java bindings for Flutter plugins.
occasionalflutter.substack.com
January 19, 2025 at 2:29 PM
Reposted
If you didn’t know, you can navigate to a file in #VSCode using just the initials.

For example:
Open the Command Palette and type "ibt" to open the icon_button_test.dart file.
January 8, 2025 at 9:21 AM
Reposted
Highly recommend video for any developer not having grown up in the 8 Bit area. It will enhance your understanding of how computers work a lot.
youtu.be/lC4YLMLar5I?...

@benhyneck.bsky.social got side tracked by this
Elite: "The game that couldn't be written"
YouTube video by Alexander the ok
youtu.be
December 29, 2024 at 8:30 PM
Reposted
📚 The slides and transcript of my @reactdayberlin.gitnation.org talk “React Query - The Bad Parts” are now available on my blog. Enjoy 🎉
React Query - The Bad Parts
In this talk, maintainer Dominik will explore the other side—the less favorable aspects of React Query and situations where it may not be the best fit. No library is perfect; every choice involves tra...
tkdodo.eu
December 28, 2024 at 3:57 PM
Reposted
Did you know?

If you want to render fixed width (monospaced) digits, set FontFeature.tabularFigures() inside your TextStyle. 🎯

This works great when showing numbers and dates that should align vertically or update in realtime! 🔥
December 16, 2024 at 4:21 PM
Reposted
here we go again (I will now do this every 2 months on ~16th): reply to this tweet to AMA about @dart.dev or complain about anything @dart.dev related.

I will do my best to reply.
December 16, 2024 at 4:32 PM
Reposted
There's a super easy way to see old versions of a file in VS Code

1. Open the Explorer
2. Toggle on the "Timeline"
3. Select the version you want to see
December 14, 2024 at 3:41 AM
Reposted
"rules" that terminal programs follow jvns.ca/blog/2024/11...
December 12, 2024 at 4:58 PM
Reposted
Row and Column spacing is here for everyone! #FlutterDev
December 11, 2024 at 8:35 PM
Reposted
Testing is often misunderstood as primarily finding bugs, but validating requirements is far more important for developing quality products 🧪

Explore different testing approaches and how they impact your #Flutter app development in my latest article 👇

medium.com/tide-enginee...
Project Miniclient — Testing
Testing is often misunderstood as a process of finding bugs. However, in reality…
medium.com
December 9, 2024 at 10:15 AM
Reposted
Thorough and very informative explanation of how to create a more realistic frosted glass effect using #CSS filters, by @joshwcomeau.com

www.joshwcomeau.com/css/backdrop...
Next-level frosted glass with backdrop-filter • Josh W. Comeau
Glassy headers have become a core part of the “slick startup” UI toolkit, but they’re all missing that final 10% that really makes it shine. In this tutorial, you’ll learn how to create the most reali...
www.joshwcomeau.com
December 8, 2024 at 5:55 PM