BellCube
bellcube.dev
BellCube
@bellcube.dev
Complete nerd, always interested in learning cool new things!
🐙 https://github.com/BellCubeDev/
💼 Full-stack nerd for hire! https://bellcube.dev/
> Be web developer
> Uses Webpack v4 (reminder, v5 dropped in late 2020)
> Tries to upgrade package in 2025
> Package is ESM-only
> Complains about new package update and not about ancient Webpack setup
October 10, 2025 at 12:31 AM
(and, of course, provided the benchmarks don't show a decrease in performance! That would be bad!)
October 9, 2025 at 11:50 PM
So long as it passes the test suites, I don't see why not!
October 9, 2025 at 11:48 PM
Let the compiler do it for you? You might be interested in the ESLint plugin I finished up yesterday: github.com/BellCubeDev/...

Basically, it aims to flag any manual memoization where React Compiler would already be adding memoization for you
GitHub - BellCubeDev/eslint-plugin-react-no-manual-memo: ESLint plugin for React Compiler users to flag any usage of useMemo, useCallback, and React.memo—both to catch instinctive memoization and to b...
ESLint plugin for React Compiler users to flag any usage of useMemo, useCallback, and React.memo—both to catch instinctive memoization and to bring memoization up in code reviews if manual memoizat...
github.com
October 6, 2025 at 10:17 PM
Reposted by BellCube
useEffectEvent allows you to create "Effect Events" to split “Event” logic out of the Effect that emits it.

Similar to DOM events, Effect Events always “see” the latest props and state, so your Effect doesn't need to re-run when the values change.

react.dev/learn/separa...
Separating Events from Effects – React
The library for web and native user interfaces
react.dev
October 1, 2025 at 9:57 PM
Now THIS is what real innovation in the JS ecosystem looks like! 🎉
October 5, 2025 at 8:19 PM
ESM Only: gist.github.com/sindresorhus...

Anthony Fu's thoughts on it in 2025: antfu.me/posts/move-o...
Move on to ESM-only
Let's move on to ESM-only
antfu.me
October 5, 2025 at 7:54 PM
Yes, yes, and yes—all the way yes!
October 5, 2025 at 7:48 PM
This may be half a year old, but I feel this in my SOUL
September 23, 2025 at 10:12 PM
September 23, 2025 at 9:01 PM
Reposted by BellCube
someone said of Wikipedia: “it is a thing that does not work in theory but turned out to work in practice”
September 21, 2025 at 9:00 PM
Stealing this and spreading it as far and wide as I can.
August 27, 2025 at 1:15 PM
You know, I wrote that, but I forgot that some people even still write #SQLInjection bugs... and this is why God gave us ORMs
July 26, 2025 at 2:25 AM
This looks very neat—I will definitely be checking this out 👀
July 26, 2025 at 1:57 AM