Nmn's Avatar

Nmn

@nmn.bsky.social

1,222 Followers  |  279 Following  |  788 Posts  |  Joined: 03.05.2023  |  2.3596

Latest posts by nmn.bsky.social on Bluesky

Post image

When I hear the term โ€œan army of agentsโ€

01.11.2025 21:29 โ€” ๐Ÿ‘ 23    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

On the flip side.
- No need for dependency arrays.
- No need to memoize most of the time.
- No need to break up components for suspense.
- No need to have a fancy library or effects for data fetching.

30.10.2025 20:22 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

And solid is pretty easy at a basic level:

1. State is getter function (signal)
2. Youโ€™re not allowed to read the state in your components. Only create new getter functions that can read the state.
3. Use <When> and <For> components instead of ternaries and .map

30.10.2025 20:22 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Learn Solid.js people. Svelte and Solid are essentially the same with different syntax and IMO JSX > Svelte syntax.

30.10.2025 20:22 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Or I should say the other libraries that popped up when React first became popular. Like Mithril and Cycle.js.

But somehow Remix is the worst attempt at a React-like VDOM component framework Iโ€™ve seen so far.

30.10.2025 20:18 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I wonโ€™t go that far. I remind me of old react with more awkward syntax.

30.10.2025 20:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

It would be good to have a way to do conditional imports synchronously.

And bundlers that can handle that kind of thing and serve different permutations of files based on information available during the request.

30.10.2025 20:16 โ€” ๐Ÿ‘ 3    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Apple is getting some well deserved criticism for this.

But aside from that, can we stop using top level await entirely? It makes things so so annoying.

30.10.2025 03:35 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 0

She should do it anyway. And Bernie can maybe be the VP!

30.10.2025 02:29 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Exactly. Unless someone like John Steward runs itโ€™s not looking good.

Thatโ€™s ignoring the fact that there might not even be another real election to begin with.

30.10.2025 02:25 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Who should run that can actually win?

30.10.2025 02:09 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Moving off React is fine. Not everything needs to be React.

But what theyโ€™ve built instead of React is significantly worse than React IMO.

30.10.2025 00:47 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Polanski might have a better strategy.

My observation was purely what i felt watching the videos each of them put out on their own.

I hope yโ€™all get someone good that actually delivers next election.

25.10.2025 15:44 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Just donโ€™t* like how.

24.10.2025 23:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I wonโ€™t pretend to know enough about UK politics to comment.

I just found it fascinating that you prefer the comms, specifically of Polanski and thatโ€™s the one thing i dont like. I like the content of what heโ€™s saying. I just like *how*.

Just interesting.

24.10.2025 23:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

As an outsider Corbyn came off more genuine. These videos feel performative IMO.

24.10.2025 21:14 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

And finally, do you think this is a bloated pile or crap? Cuz I think it feels snappy and easy to use:

next-faster.vercel.app

24.10.2025 08:28 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Also, I thought you were genuinely asking. Devs use the thing they feel will help them build something quickly. They only worry about the quality of the experience after the fact. Iโ€™m not saying thatโ€™s good or bad. Itโ€™s just how these decision are made at profit seeking companies.

24.10.2025 08:26 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Iโ€™m not talking about React specifically here. The point is that the solution to Reactโ€™s problems is either making React itself better or alternatives like Solid.js or Qwik.js

Going back to just the browser standards doesnโ€™t necessarily result in better experiences.

24.10.2025 08:25 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
GitHub - rickhanlonii/async-react: The final state of the React Conf 2025 Async React talk. The final state of the React Conf 2025 Async React talk. - rickhanlonii/async-react

Here's the code for my Async React demo:

github.com/rickhanlonii...

15.10.2025 20:41 โ€” ๐Ÿ‘ 83    ๐Ÿ” 12    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 1

Depends how the outer framework is rendering it, but yeah I get it.

Iโ€™d rather make a framework-specific wrapper to fix those issues than deal with all the shadow dom weirdness.

24.10.2025 07:04 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

๐Ÿ’ฏ

24.10.2025 03:17 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Honestly I think with modern web features the need to pull in components built in a different framework should be rare. With dialogs, popovers etc a lot of the things we built manually is available out of the box now.

Get a good styling system and youโ€™re done. (Obvious StyleX plug)

24.10.2025 03:10 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I said that sentence to mean custom elements are โ€œessentialโ€. Having a common interface is obviously good and i think custom elements are the best part of the โ€œweb componentโ€ spec although i have many issue with it too.

24.10.2025 03:07 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Yup. I think using a custom element is fine as an abstraction for the cross-framework boundary. I donโ€™t think shadow dom is needed in most cases though.

โ€œHTML-web componentsโ€ would work just fine.

24.10.2025 03:04 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Then weโ€™re basically on the same page!

24.10.2025 03:02 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

React used to show state-less components before hooks. Remix only show prop-less components.

24.10.2025 03:00 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Anyway, this is becoming unexpectedly and unintentionally argumentative.

I just think we over-use custom elements and shadow dom because โ€œweb componentsโ€.

24.10.2025 02:55 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

And render scoping is weird to me because as long as youโ€™re in the same framework, you *want* that child to be re-rendered. And if youโ€™re at a framework boundary, you donโ€™t need a custom element to stop rendering. There are all kinds of ways to do that for each framework.

24.10.2025 02:54 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

The distribution situation is pretty bad because you still need custom JS and logic for rendering *within* the shadow DOM so itโ€™s just unnecessary overhead.

And if you donโ€™t care about that, using a custom element at only the boundaries makes sense.

24.10.2025 02:54 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@nmn is following 20 prominent accounts