Jim Simon (@jimsimon_) header
Jim Simon (@jimsimon_) profile picture

🦋 https://nitter.cf/t.co/APodVaSlFq (I no longer use X) Staff Software Engineer (Web Platform Team) @ Reddit - Posts/Opinions are my own...

Michigan
Joined June 2009
Photo by Jim Simon (@jimsimon_)Photo by Jim Simon (@jimsimon_)
I'm no longer using X - find me over at 🦋! Link is in my bio!
1
1
68
Except react-dom is actually ~58 kB gzip'd... (compared to Lit at ~6 kB)
If only the anti-react bundle size fanatics hadn’t all gone to Mastodon
1
147
Or use this link to jump there right away: bsky.app/profile/jimsimon.de…
30
Hey folks, just a heads-up that you can also find me over at 🦋. Link is in my bio if you want to hit me with a follow over there as well. I'll probably start posting there more often going forward.
50
This is huge! A coworker and I were just discussing using a custom import attribute for some internal framework stuff at Reddit. I'm super excited to see these hit stage 4.
ECMAScript excitement 😉 Congrats to @NicoloRibaudo on advancing both Import Attributes & JSON Modules to Stage 4 at @TC39 today 🎉 It introduces the `with` keyword for imports. Chrome successfully unshipped the `assert` keyword 👍 github.com/tc39/proposal-imp…
3
187
This is an absolutely terrible idea. The barrier to entry for JS is already way too high and this is just going to make it worse. We should be doing what we can to reduce our reliance on build tools, not increase it.
Replying to @nullvoxpopuli
Build tooling required? RIP Vanilla JS
2
2
130
Why does Prettier force a code style for HTML elements that is non-standard? It's forcing self-closing tags without a way to turn it off. I get that it's an opinionated formatter, but in this case there's no opinion to be had. These tags are just straight up invalid syntax.
1
154
I think it's about time that browsers added a declarative templating API to the DOM. We know how to do it ergonomically and with great performance. The shape of the API is relatively obvious (IMO at least 😆). And we know it can be used as a compile target for things like JSX.
8
8
2
61
11,190
Question for anyone using Sqlite in production: what do you do when you need to scale horizontally? Is there some way of sharing a database across servers/pods? Do you move to postgres? I'm considering using Sqlite for a new project but don't want to end up stuck if it takes off.
1
117
Here we go again... This package is used in @TestingLib which is one of the most popular testing packages around. There's going to be tons of dependency bloat if this PR makes it in.
He actually set the engines to 0.4 😂 github.com/A11yance/aria-que…
2
4
450
This is disgusting. I'm not sure what else we can do aside from raising public awareness about this person's packages and the tools available to mitigate the damage he's doing. In that spirit, definitely check out npmjs.com/package/nolyfill if you're being impacted by this garbage.
The difference between [email protected] and 0.6.9
4
324
100% agree. Propagating non-standard behaviors is going to cause a lot of developer frustration over the next few years.
Replying to @kossnocorp
Imo, bun has done quite a bit of damage to the long term compatibility within the js ecosystem, and the ts ecosystem is kinda fractured due to ts not necessarily being evergreen (though it's getting better) /1
3
146
I've been saying this since Jest hit the scene. Why would I test in an environment that immediately invalidates my test results and requires polyfills for things that browsers have natively supported for years? It just doesn't make sense.
Testing in jsdom is worse than useless: it's actively bad. It's an environment that none of your users use, and often requires the code under test to change just to work in it - a complete waste of time and increase in complexity. It's so easy to test in real browsers, do that!
154
Jim Simon retweeted
Except its not awesome and harmful for the rest of the js ecosystem
unavailable
7
1
30
6,396
After a really productive DOM Parts meeting today I'm more optimistic than ever that we're going to get an ergonomic and efficient templating primitive into the web platform soon, fulfilling the promise of <template> and bringing us closer to declarative custom elements.
9
14
3
150
17,226
The new Reddit Ui is built with Lit!
Replying to @luciascarlet
this is also like 20x faster than the normal new Reddit UI apparently it's built using web components instead of React so go figure
5
27
3
186
51,776
this is also like 20x faster than the normal new Reddit UI apparently it's built using web components instead of React so go figure
11
8
4
171
69,503
Jim Simon retweeted
📣Lit 3.0 is coming! Try the pre-release today📣 Get an early look at Lit 3.0, our first major release since Lit 2.0 two years ago. If you run Lit 2.x with no deprecation warnings, this should be a seamless upgrade! Read more and try the prerelease here: lit.dev/blog/2023-05-15-lit-…
3
66
2
244
60,248
Excited, and exhausted, to share the public postmortem I wrote about the big Reddit outage last week. reddit.com/r/RedditEng/comme… This one was, frankly, a doozy, and I'm glad we get to learn from it.
3
4
2
25
3,601