Recent submissions

Comment · 4 years ago
That’s not the bot issue everyone is talking about. It’s bunch of fake/empty accounts posting/replying something what pushes some fakenews, propoganda, etc.

It has been especially noticeable this year, since February 24th

Comment · 4 years ago
Jesus christ they are douches. This ain’t their first unethical dark-pattern-kind thing.
Comment · 4 years ago
Would be nice if those colors were also used for category labels by the books easier to memorize and recognize color than two letters
Comment · 4 years ago
The lesson is that, two objects aren’t equal even if their content is.

This is what to, the issue boils down, and such incorrect React’s usage should be clear to junior-level developers.

Comment · 4 years ago
Nice read, thanks for that!

However, I would say it doesn’t emphasise issue, from React’s perspective, enough.

Languages like C++ or Rust, where pointer/reference definitions are required, has an advantage that you won’t miss the fact that something has pointer.

Worthy mention - `additionalProperties` property of `react-hooks/exhaustive-deps` ESLint rule, allows to define hooks which requires referential stability for dependencies. Personally, I’ve yet to use it.

Comment · 4 years ago
Seems to be fixed indeed.
Comment · 4 years ago
You can also use `querySelectorAll` and also pass parent’s selector. Didn’t get to post while I was back at computer, so can’t recall exact selector, but number was same
Comment · 4 years ago
"Right click" [1] image to view it in new tab. Had the same issue on MacOS Safari.

[1] tap and hold on Android, I would assume. Haven’t used one in years

Comment · 4 years ago
Comment · 4 years ago
Comment · 4 years ago
Comment · 4 years ago
Aren’t new cars supposed to have that feature, which can automatically call emergency services on crash?
Comment · 4 years ago
Hard to answer. However it’s also probably hard to come up with all the edge cases.
Comment · 4 years ago
Furthermore - there’s not much sites with those.

And I know from experience because I had to add one on our site at my previous company, back when it was still beta-invite-only.

Comment · 4 years ago
It’s probably easy (in terms scale of all that detection) to fix, and for what it’s worth, this feature can definitely be a lifesaver.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton