Trending
BellCube's Avatar

BellCube

@bellcube.dev

Complete nerd, always interested in learning cool new things! πŸ™ https://github.com/BellCubeDev/ πŸ’Ό Full-stack nerd for hire! https://bellcube.dev/

8
Followers
22
Following
31
Posts
21.02.2025
Joined
Posts Following

Latest posts by BellCube @bellcube.dev

Preview
Introducing CSS Grid Lanes It’s here!

Have you been wishing masonry layouts would just hurry up and arrive in CSS?? Well, happy holidays!

webkit.org/blog/17660/i...

19.12.2025 21:33 πŸ‘ 281 πŸ” 70 πŸ’¬ 12 πŸ“Œ 13

❓"When can we expect this feature"

Please refrain from asking this question towards open source maintainers. You generally shouldn't "expect" anything. I don't often agree with DHH but his take on OSS being a gift, not something you're entitled to, is something I relate with.

20.12.2025 08:42 πŸ‘ 82 πŸ” 9 πŸ’¬ 8 πŸ“Œ 0

I've gotten oddly good results by downloading an entire library/framework's docs MD collection, putting it in a folder, asking AI agents to make sure everything's set up and up to snuff, and repeat the prompt about 20 times. You can do multiple libraries at a time, too! Works well for project setup.

03.01.2026 18:17 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

ESLint depends on sponsorships to pay maintainers. We're operating at a deficit with roughly a junior engineer's salary supporting a dozen maintainers plus awarding outside contributions. Please talk to your company about sponsoring ESLint:
https://eslint.org/donate

06.10.2025 16:57 πŸ‘ 41 πŸ” 13 πŸ’¬ 1 πŸ“Œ 0

> 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

10.10.2025 00:31 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Help us make MDN even better for you! πŸ“£

We’re running a short survey to understand how developers use MDN in their day-to-day work and learning.

⏱️ Takes ~10 minutes
βœ… All questions optional
πŸ”’ Responses are anonymous

Take the survey πŸ“
survey.alchemer.com/s3/8409929/...

07.10.2025 16:00 πŸ‘ 5 πŸ” 4 πŸ’¬ 1 πŸ“Œ 0

(and, of course, provided the benchmarks don't show a decrease in performance! That would be bad!)

09.10.2025 23:50 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

So long as it passes the test suites, I don't see why not!

09.10.2025 23:48 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Interop Feature Ranking Rank the web platform features you care most about

As an experiment, we (the Firefox team) wanted to try a new way to get feedback on which Interop proposals matter most.

So, here's a web app where you can rank the proposals you care about, giving us data we can use when reviewing which ones to champion.

interop-rank.jakearchibald.com

09.10.2025 17:00 πŸ‘ 250 πŸ” 114 πŸ’¬ 19 πŸ“Œ 22
Preview
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...

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

06.10.2025 22:17 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Separating Events from Effects – React The library for web and native user interfaces

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...

01.10.2025 21:57 πŸ‘ 22 πŸ” 2 πŸ’¬ 4 πŸ“Œ 2

L take. tabs are objectively better for developer a11y.

www.reddit.com/r/javascript...

06.10.2025 12:58 πŸ‘ 33 πŸ” 4 πŸ’¬ 9 πŸ“Œ 0

Now THIS is what real innovation in the JS ecosystem looks like! πŸŽ‰

05.10.2025 20:19 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
import { glob } from 'node:fs/promises';

const files = glob('**/*.md', {
  exclude: [
    '.git/**',
    '**/node_modules/**',
  ]
})

for await (const filePath of files) {
  console.log(filePath);
}

import { glob } from 'node:fs/promises'; const files = glob('**/*.md', { exclude: [ '.git/**', '**/node_modules/**', ] }) for await (const filePath of files) { console.log(filePath); }

Did you know that Node.js 22 has glob built in? No dependencies needed.

nodejs.org/api/fs.html#...

04.10.2025 19:44 πŸ‘ 57 πŸ” 3 πŸ’¬ 4 πŸ“Œ 0
Preview
Move on to ESM-only Let's move on to ESM-only

ESM Only: gist.github.com/sindresorhus...

Anthony Fu's thoughts on it in 2025: antfu.me/posts/move-o...

05.10.2025 19:54 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Yes, yes, and yesβ€”all the way yes!

05.10.2025 19:48 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
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...

Just published an #ESLint plugin to catch cases of manual memoization (React.memo, useMemo, useCallback), reminding you to let #ReactCompiler work its magic ✨

Oh, and the docs include React Compiler Playground links so you can see the automatic memoization in action!

github.com/BellCubeDev/...

05.10.2025 19:47 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

This may be half a year old, but I feel this in my SOUL

23.09.2025 22:12 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

#nothankyou ( #JustKidding )

23.09.2025 21:01 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

someone said of Wikipedia: β€œit is a thing that does not work in theory but turned out to work in practice”

21.09.2025 21:00 πŸ‘ 817 πŸ” 96 πŸ’¬ 3 πŸ“Œ 3
Video thumbnail

Did you know your MacBook has a sensor that knows the exact angle of the screen hinge?

It’s not exposed as a public API, but I figured out a way to read it and make it sound like an old wooden door.

06.09.2025 20:44 πŸ‘ 7631 πŸ” 1955 πŸ’¬ 116 πŸ“Œ 169
Preview
npm Author Qix Compromised via Phishing Email in Major Suppl... npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.

A number of popular npm packages have been compromised and malicious versions published. Most of these have been removed from the registry. Astro indirectly depends on one that hasn't, so we have published 5.13.6 that pins a safe version.

08.09.2025 18:54 πŸ‘ 60 πŸ” 15 πŸ’¬ 1 πŸ“Œ 0

Stealing this and spreading it as far and wide as I can.

27.08.2025 13:15 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

You know, I wrote that, but I forgot that some people even still write #SQLInjection bugs... and this is why God gave us ORMs

26.07.2025 02:25 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

ok so I checked the #FrontendDev tag after my last post and I don't think I've ever gotten self-promotion and grifter whiplash harder in my life.

26.07.2025 02:22 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

React gave me powers.
Now I break things faster and with confidence.

#ReactJS #FrontendDev

16.07.2025 12:32 πŸ‘ 5 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

OK so this thing is neat. Will almost certainly become a mainstay of my #FrontendDev workflow. Genuinely makes it easy to see how #responsive designs, well, respond to different screens in one go. And easy to remember to check different screen sizes (hobbyist problems).

bsky.app/profile/gith...

26.07.2025 02:19 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

This looks very neatβ€”I will definitely be checking this out πŸ‘€

26.07.2025 01:57 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I love CSS folks. They are soldiers of joy and delight. The world is burning and AI debates have people at each others throats and CSS peeps keep being like β€œcheck out this dancing turtle I made out of divs πŸ₯°β€

22.07.2025 19:22 πŸ‘ 410 πŸ” 68 πŸ’¬ 10 πŸ“Œ 4

Like most refactors, it costs significantly less and feels significantly less boring if you simply put in the mental effort to do it right the first time.

26.07.2025 01:48 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0