Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joshwcomeau
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
61.
▲
by
joshwcomeau
5y ago
Oh! This is a helpful insight, thanks. Updating the blog post.
62.
▲
by
joshwcomeau
5y ago
Appreciate the heads-up — Which version and OS? And is it all of the interactive demos, or only some of them?
63.
▲
by
joshwcomeau
5y ago
Eep, sorry to hear that! I haven't heard any other reports, and it's working on my fully-updated iPhone hoping this was just a hiccup.
64.
▲
The World of CSS Transforms
(joshwcomeau.com)
294 points
by
joshwcomeau
5y ago
|
70 comments
65.
▲
How to Learn Stuff Quickly
(joshwcomeau.com)
413 points
by
joshwcomeau
5y ago
|
88 comments
66.
▲
Demystifying Styled-Components
(joshwcomeau.com)
2 points
by
joshwcomeau
5y ago
|
0 comments
67.
▲
by
joshwcomeau
5y ago
+1, came here to say this. The comprehensibility of the code matters way more than the length. It’s not like the bugs sneak in once every 50 characters typed. As I’ve gotten more experienced, my code has gotten less fancy and more verbose.
68.
▲
by
joshwcomeau
5y ago
Yep. In addition to being toxic and wrong and pointless, it also reveals that OP isn’t actually very good at the non-JS parts of front-end engineering. It’s easy to assume that something is basic when you only have a basic understanding of
69.
▲
by
joshwcomeau
5y ago
I think an important caveat here is that in a serverside-rendered context, linaria’s 70kb of CSS would be a bigger issue than styled-component’s additional JS. The page can’t render until it has downloaded the CSS. Granted, many react apps
70.
▲
Building a Magical 3D Button with Vanilla HTML/CSS
(joshwcomeau.com)
136 points
by
joshwcomeau
6y ago
|
30 comments
71.
▲
CSS for JavaScript Developers
(css-for-js.dev)
2 points
by
joshwcomeau
6y ago
|
0 comments
72.
▲
What the Heck, z-index?? Understanding Stacking Contexts in CSS
(joshwcomeau.com)
2 points
by
joshwcomeau
6y ago
|
0 comments
73.
▲
by
joshwcomeau
6y ago
I wish I found your comment a year ago! I had cubital tunnel syndrome as well, and was days from spending a lot of money on the ulnar transposition surgery. It’s been ~4 months since then and it’s 95% better, and improving steadily
74.
▲
by
joshwcomeau
6y ago
I’ve learned a lot about RSI over the past year, having spent about 8 months completely unable to type or use a mouse, trying dozens of things and talking to dozens of people. And the main thing I’ve learned is that every story is unique; t
75.
▲
An Interactive Guide to CSS Transitions
(joshwcomeau.com)
4 points
by
joshwcomeau
6y ago
|
0 comments
76.
▲
The styled-components happy path
(joshwcomeau.com)
34 points
by
joshwcomeau
6y ago
|
1 comments
77.
▲
Let's Bring Spacer GIFs Back (React.js)
(joshwcomeau.com)
3 points
by
joshwcomeau
6y ago
|
0 comments
78.
▲
Refreshing Server-Side Props in Next.js
(joshwcomeau.com)
3 points
by
joshwcomeau
6y ago
|
0 comments
79.
▲
by
joshwcomeau
6y ago
Hey HN! I created this project because I was sick of how hard it was to google for JavaScript operators; Google ignores certain characters like "?". I would remember the syntax, but not what it was called, or exactly how it worked
80.
▲
Show HN: Operator Lookup, a search engine for JavaScript operators
(joshwcomeau.com)
3 points
by
joshwcomeau
6y ago
|
2 comments
81.
▲
Chasing the Pixel-Perfect Dream
(joshwcomeau.com)
2 points
by
joshwcomeau
6y ago
|
0 comments
82.
▲
by
joshwcomeau
6y ago
Appreciate all the discussion! I touch on this in the article, but I should say: I'm an edge-case when it comes to CTS. Most cases resolve spontaneously. Part of it is that my nerve dislocates when I bend my elbow, and this mobility ca
83.
▲
by
joshwcomeau
6y ago
Interesting! Maybe I'll look into a voice trainer.
84.
▲
Hands-Free Coding: How I develop software using dictation and eye-tracking
(joshwcomeau.com)
608 points
by
joshwcomeau
6y ago
|
137 comments
85.
▲
by
joshwcomeau
6y ago
This doesn't work because `65ch` means very different things depending on the font-size. You need to apply it to a parent class, so that it picks the base font size (I'm not actually sure how this works but in practice it seems to
86.
▲
by
joshwcomeau
6y ago
Hi there! Author here. What I meant is that there is no way to tell certain children to disregard the constraints of a container; if a parent is 800px wide, there isn't a way to say "keep this child in-flow, but fill the viewport&
87.
▲
by
joshwcomeau
6y ago
Glad to hear it was helpful :D
88.
▲
by
joshwcomeau
6y ago
Ah, I thought “load” was a jQuery plug-in. In that case it’s real code, but it’s only handling the data-fetching; I don’t need React to do that either, but I’d need to generate the hit counter itself (for it to be exactly equivalent, it wou
89.
▲
by
joshwcomeau
6y ago
Really??? Who knew My point is that my example is complex because some client-side code is necessary. The snippet you shared is nice pseudo-code but a real implementation would be comparable in complexity. Either way you need to learn some
90.
▲
by
joshwcomeau
6y ago
Hey folks! Author here. Just a quick clarification, this is NOT a sponsored post by Fauna, as some have claimed. As the article states, the choice for database is somewhat arbitrary, you can swap it out for Mongo or whatever else you’d lik
More ›