rickhanlonii

Joined 14 years ago

Karma
1,325
Submissions
198
Member since
Nov 27
@rickhanlonii

[ my public key: https://keybase.io/rickhanlonii; my proof: https://keybase.io/rickhanlonii/sigs/kJR8uAAdSFn3hFKRqzI4wwB4Wdj47FjGsZnYntRdWs4 ]

View on Hacker News

Recent submissions

Comment · 10 months ago
fwiw, the goal here wasn't to downplay the severity, but to explain the context to an audience who might not be familiar with CVEs and what's considered normal. I moved the note down so the more important information like severity, impacted versions, and upgrade instructions are first.
Comment · 10 months ago
Yeah agreed, thanks again for the feedback. The priority here is clear disclosure and upgrade steps.
Comment · 10 months ago
GitHub has to review the advisories and publish it for it to show in `npm audit`, so it's delayed.
Comment · 10 months ago
Comment · 10 months ago
After Log4Shell, additional CVEs were reported as well.

It’s common for critical CVEs to uncover follow‑up vulnerabilities because researchers scrutinize adjacent code paths looking for variant exploit techniques to test whether the initial mitigation can be bypassed.

Comment · 2 years ago
Comment · 2 years ago
Comment · 2 years ago
Will do, thanks paul big fan of your work
Comment · 2 years ago
Comment · 2 years ago
Kind of. We already had a native UI tree running in native (the same way the browser has it's own internal representation of the DOM). The difference in this release is that we rewrote it in C++ and made it immutable. That means instead of having a different UI tree in each platform (one for iOS, one for Android, etc), we have one C++ tree that all platforms use. And since it's immutable, it's thread safe and we can read layout and commit it from different threads if needed.

Reconciliation is still done in React on the JS thread, similar to React DOM.

Comment · 2 years ago
Yeah this is a tricky problem, and it's one of the reasons we updated our recommendation to use a framework like Expo that can make upgrades be smoother by being more opinionated about the setup.

As the core library, we need to support all the different ways React Native can be added to an app (from fully react native to adding react native to an existing app) and all the different build tools an existing app may use. So it's hard for us to be opinionated about the setup in a way that would make upgrades seamless, but a framework can solve this for you.

Comment · 2 years ago
Capacitor is really cool because it allows you to build a web app in iOS and Android and access the platform APIs from JavaScript. The rendering layer is a bit different though, because in React Native you can use the platform APIs _and_ the platform components. In React Native, the views you render on iOS are the same UIKit UIViews that a native app would write. In Capacitor, these are DOM elements in a webview. There are different tradeoffs, but this difference is what makes React Native look and feel more native.
Comment · 2 years ago
I helped write this post, so feel free to ask me anything about the New Architecture!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton