einarq's Avatar

einarq

@einarq

Long time frontend developer (20+ years), enthusiastic climber, father of two, husband of one. Enjoying React, Node, and Module Federation to create ambitious UX. Principal frontend engineer at Forsta.

11
Followers
52
Following
51
Posts
08.02.2024
Joined
Posts Following

Latest posts by einarq @einarq

Make a package instead of a framework, so we can more easily integrate it into all the existing SPAs.
Something we could integrate with route loaders for instance.

13.12.2025 18:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
[Compiler Bug]: `react-hooks/preserve-manual-memoization` is triggered for state setter depending on position of `useState` Β· Issue #34957 Β· facebook/react What kind of issue is this? React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization) babel-plugin-react-compiler (build issue installing or using the Babel...

@en-js.bsky.social
I guess this is the relevant bug for the thing I was asking about earlier:

github.com/facebook/rea...

26.11.2025 10:39 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Much appreciated! πŸ™Œ

24.11.2025 05:55 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Maybe pull connect out in a separate β€œcompat” package in a major?

23.11.2025 19:44 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Oops! πŸ˜…
It’s the right thing to do, it’s time πŸ™‚

23.11.2025 00:48 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Very exciting! πŸ™ŒπŸ»

22.11.2025 18:58 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Yes. Still like it. Especially for code navigation.
Tried switching to VS Code a few times but just doesn’t feel as powerful, even with all the recommended plugins.
But you need a powerful machine to run it smoothly.

21.11.2025 23:46 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Also hoping that Concurrent Stores will eventually make the Redux + Transitions story more viable. So far it’s seemed to me that transitions can only work if React controls the state, which of course is not the case for us.

21.11.2025 23:42 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Very cool. Although gotta say, gonna have to read it a few more times to groc it πŸ€·πŸΌβ€β™‚οΈπŸ˜…
Our apps tend to use Redux and RTKQ, which uses uSES under the hood I think. Will that mean it cannot be enabled? Or does it depend on how and where we use Redux? Needs to be tested I guess.

21.11.2025 23:40 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
You Might Not Need an Effect – React The library for web and native user interfaces

I ended up removing the useCallback and switching to the "set state in render" recommendation anyway, so just curios.

react.dev/learn/you-mi...

07.10.2025 08:03 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Why does the "preserve-manual-memoization" rule require that we add state setters to the useCallback deps?

07.10.2025 08:01 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I guess the 'react-hooks/react-compiler' rule is completely gone now?

04.10.2025 11:39 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

We were on React 18, eslint-plugin-react-hooks ^6.0.0-rc.1, and react-compiler-runtime 19.1.0-rc.3.
Suddenly our linter is failing all over the place with "Definition for rule 'react-hooks/react-compiler' was not found.

04.10.2025 11:39 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Is it a drop-in replacement for the useNonReactiveCallback in the Bluesky codebase?

02.10.2025 21:12 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
How I ruined my application performances by using React context instead of Redux | Theodo Astro description

The author of this article might have a good example?

blog.theodo.com/2019/07/how-...

02.09.2025 18:50 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Reflections on the React community | Lee Robinson Some thoughts after working with React for 10 years.

Great read from @leerob.com

leerob.com/reflections

12.08.2025 17:57 πŸ‘ 56 πŸ” 9 πŸ’¬ 6 πŸ“Œ 1

The β€œcustom dataStrategy to do even more advanced stuff” sounds like an interesting blog post πŸ™‚

13.07.2025 07:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

So it’s using createBrowserRouter?
Or do you mean framework mode with loaders?

03.07.2025 11:29 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
The State of React and the Community in 2025 Detailed thoughts on how React has been developed over time, and explanations for common community confusion and concerns

Β«But I also feel that the "recommendation" has turned into an overly-broad prescription that doesn't give enough credit to the variety of ways React is used in practice throughout the ecosystem.Β»

100%!!!

blog.isquaredsoftware.com/2025/06/reac...

14.06.2025 08:37 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Could you share some examples of how to use it for non-forms stuff?

11.06.2025 21:56 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

What’s the module federation story with Parcel? Does it work with the new β€œcore” package, probably with the runtime part I would guess in that case?
It’s great that there is a viable path now, but my point is more that there should have been one from the start if the team expected more adoption.

04.06.2025 22:09 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

This is great, but migrating from Webpack or Vite is also not always feasible.
I think the React team have underestimated the size of the ecosystem, and how difficult it might be to completely migrated the stack of an existing app.
This is why RSC doesn’t have a lot of adoption yet imo.

04.06.2025 12:09 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

If there was a Webpack plugin + Node adapter people could plug into their existing spas then that would facilitate it a lot more.

03.06.2025 18:48 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I’ve played with it Next for sure, but Next not an option for us.
Just don’t get this impression that devs β€œdon’t get it” from the react team.
There aren’t a lot of ways to adopt it outside Next.
Support in Vite + React Router will help.

03.06.2025 18:47 πŸ‘ 5 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

The BFF? Node.
React + Webpack on the client.

02.06.2025 21:41 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Had it for 10 years. Still waiting for a way to start using RSC.

02.06.2025 17:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Finding it super hard to get wins (zero build).
The first season of this chapter was cool tho, with the proper katana and more fully fledged Japanese theme all over.

16.05.2025 17:06 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Personally I'm excited about RSCs, but still haven't found a path to adoption, since Next is out of the question for us.
Recently migrated an app to React Router 7 (framework), so now I'm waiting for support in Vite I guess.

08.05.2025 08:37 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

For better or worse, the vast majority of existing web apps use webpack, and are moving towards Vite. "Releasing" RSCs without any way for those developers of adopting it made it fairly predictable imo that it would struggle to get properly understood. "Use a framework" didn't help with the FUD.

08.05.2025 08:36 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

It would also help if it was possible to use RSCs outside of Next :)
And Parcel now, I know. But making some type of general plugin for webpack, similar to how Parcel now supports it, would have given RSCs a much better chance of success imo.

08.05.2025 07:52 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0