Advertisement ยท 728 ร— 90

Posts by Seb โš›๏ธ ThisWeekInReact.com

Post image

This Week In React 276

โš›๏ธ
- Boneyard
- Ink
- MUI
- React Router
- Next.js
- shadcn
- Docusaurus
- Comark
- Forms
- Shaders
๐Ÿ“ฑ
- RN 0.85
- ViewTransition
- Skia
- Windows
- CRNL
- Maestro
- Nitro Player
- RNGH

๐Ÿฟ Read/subscribe: thisweekinreact.com/newsletter/276

โœ๏ธ @jwr.ski & I

2 days ago 9 4 0 0
Post image

This Week In React 276

โš›๏ธ
- Boneyard
- Ink
- MUI
- React Router
- Next.js
- shadcn
- Docusaurus
- Comark
- Forms
- Shaders
๐Ÿ“ฑ
- RN 0.85
- ViewTransition
- Skia
- Windows
- CRNL
- Maestro
- Nitro Player
- RNGH

๐Ÿฟ Read/subscribe: thisweekinreact.com/newsletter/276

โœ๏ธ @jwr.ski & I

2 days ago 9 4 0 0
Preview
Docusaurus 3.10 | Docusaurus We are happy to announce Docusaurus 3.10.

There are many other little improvements in this release

Make sure to read the full release blog post here, which highlights a few other features and improvements

docusaurus.io/blog/release...

3 days ago 2 0 0 0
Post image

New VCS API - Experimental

This permits integrating with any Version Control System, and replaces our historical hardcoded Git strategy.

See also the new "Git Eager" strategy => performs much better
It reads the whole Git repo log at once instead of 1000s of "git log" calls

3 days ago 2 0 1 0
Post image Post image Post image

In Docusaurus v4, we want you to use native, strict MDX syntax

We'll disable the "mdx1Compat" flag

We encourage you to:
- Use .mdx extension
- Use directive syntax for admonitions
- Use MDX comments, not HTML syntax
- Use MDX comments for heading IDs ๐Ÿ†•

3 days ago 2 0 1 0
Post image

Site Storage API - Now stable

You probably don't need this API

Although be aware that in Docusaurus v4, localStorage keys will be automatically namespaced to prevent key collisions by default

This means localStorage keys will be renamed:
"theme" โžก๏ธ "theme-<hash>"

3 days ago 2 0 1 0
Post image

Docusaurus Faster opts in for our modern build infrastructure

This mode, introduced in v3.6, has been successfully adopted by many sites reporting x2-x10 build time improvements

Now is a good time to mark it as stable.
This will be the new default in Docusaurus v4

3 days ago 2 0 1 0
Post image

Detecting a compromised package in our typical dependency graph is one thing.

But ultimately, you need to take additional measures if you want to secure your site.

Although this is not Docusaurus-specific, check our recommendations in the release post:

3 days ago 2 0 1 0
Post image

In this release, we improved our supply chain security

v3.10 is the first official release with npm Trusted Publishing

We also have a CI workflow to help detect compromised packages.

3 days ago 2 0 1 0
Preview
Docusaurus 3.10 | Docusaurus We are happy to announce Docusaurus 3.10.

๐Ÿ’ฅ Docusaurus 3.10 is out!

Milestone release - Prepare for Docusaurus 4

๐Ÿ” Security: Trusted Publishing, CI scanner, recommendations
โšก Docusaurus Faster - Stable, soon the new default
๐Ÿ’ช Strict MDX - No proprietary syntax
๐Ÿ’พ Storage API - Stable
๐ŸŒณ VCS API - Experimental

docusaurus.io/blog/release...

3 days ago 12 3 2 0
Advertisement

Even if you pin your own dependencies, you can't pin your transitive dependencies, so you only lock things on the first level

Doesn't seem like a viable solution to me unless all your graph does it

1 week ago 0 0 1 0

yes, but if we detect a specific package manager (for example "yarn create") technically what prevents us from copying a pre-generated and safe yarn.lock file in the genered site?

I guess the lockfile format for each package manager also evolves over time / versions ๐Ÿ˜…

1 week ago 0 0 1 0

What I mean by that is: I don't want to force a bun/yarn/pnpm user to use npm, and vice versa

1 week ago 1 0 1 0

I don't know, it seems that there are measures that are somehow shared between bundlers.
For example using the sfw cli, or .npmrc

Also our init cli can detect/select a bundler so technically we could "generate" one solution or another, eventually provide pre-made lockfiles?

1 week ago 0 0 1 0
Preview
Seb โš›๏ธ ThisWeekInReact.com on X: "@feross As a framework author, how would you recommend securing the community? We have init templates to generate new apps, that are not coupled to any package manager. Does it make sense: - to generate a pre-made lockfile per package manager - to add min-age-release in .npmrc?" / X @feross As a framework author, how would you recommend securing the community? We have init templates to generate new apps, that are not coupled to any package manager. Does it make sense: - to generate a pre-made lockfile per package manager - to add min-age-release in .npmrc?

more context here:

x.com/sebastienlor...

1 week ago 1 0 0 0

๐Ÿ™‹โ€โ™‚๏ธ npm security question โ“

You are a Node framework author with a CLI to generate new apps

What measures can you take to ensure users are safe from supply chain attacks when initializing a new app?

Preferably:
- automatic, not docs
- decoupled from the pkg manager

1 week ago 1 0 3 0
Post image

This Week In React 275

๐Ÿฟ Read/subscribe: thisweekinreact.com/newsletter/275

โš›๏ธ
- Next.js Adapter API
- TanStack Start RSC preview
- React Compiler in Rust
- React XSS
- Signals
- Inertia
- Astro

๐Ÿ“ฑ
- ExecuTorch
- Unistyles
- RN run
- Preflight
- Confetti
- AI/Skills

โœ๏ธ @jwr.ski

1 week ago 6 3 0 0

๐Ÿซก

1 week ago 1 0 0 0
Post image

This Week In React 275

๐Ÿฟ Read/subscribe: thisweekinreact.com/newsletter/275

โš›๏ธ
- Next.js Adapter API
- TanStack Start RSC preview
- React Compiler in Rust
- React XSS
- Signals
- Inertia
- Astro

๐Ÿ“ฑ
- ExecuTorch
- Unistyles
- RN run
- Preflight
- Confetti
- AI/Skills

โœ๏ธ @jwr.ski

1 week ago 6 3 0 0

Oh noo, can't make it this year ๐Ÿ˜ข have fun without me

2 weeks ago 4 0 0 0
Advertisement
Post image

This Week In React 274

โš›๏ธ
- Next.js
- React Router
- Storybook
- HeroUI
- Remotion
- Lucide Icons
- useEffect
๐Ÿ“ฑ
- Worklets / Reanimated
- Nitro Fetch
- React Navigation
- Rozenite
- MMKV
- Windows
- Swift

๐Ÿฟ Read/subscribe: thisweekinreact.com/newsletter/274

Enjoy ๐Ÿ‘‹

2 weeks ago 12 4 0 0
Post image

This Week In React 274

โš›๏ธ
- Next.js
- React Router
- Storybook
- HeroUI
- Remotion
- Lucide Icons
- useEffect
๐Ÿ“ฑ
- Worklets / Reanimated
- Nitro Fetch
- React Navigation
- Rozenite
- MMKV
- Windows
- Swift

๐Ÿฟ Read/subscribe: thisweekinreact.com/newsletter/274

Enjoy ๐Ÿ‘‹

2 weeks ago 12 4 0 0

I'm not super familiar with that term but to me the idea is to use a better sentinel value than null/undefined (which imho are also used that way)

2 weeks ago 2 0 1 0
Post image

You might find this useful in other JS/TS contexts too.

The "unique symbol" feature of TypeScript is also worth your attention: it makes the symbol have its own identity, improving type-safety (think nominal typing/branding).

You can't compare 2 distinct unique symbols, they do not overlap

2 weeks ago 14 0 0 0
Post image

๐Ÿ‘€ React / JS / TS trick

Use symbols instead of null/undefined to represent missing values

This React provider example:
- makes it possible to provide "null"
- still checks that the user didn't forget the <Provider>

There are cases where "null" is a perfectly valid ctx value

2 weeks ago 57 2 6 0
Post image

This Week In React 273

โš›๏ธ
- RedwoodSDK
- Next.js
- TanStack
- RSC
- Async React
- SSR perf
- Base UI
- AI
๐Ÿ“ฑ
- Expo UI / APIs
- Ease
- Keyboard
- Flow type stripping
- DnD
- AI

๐Ÿฟ Read/subscribe: thisweekinreact.com/newsletter/273

โœ๏ธ @jwr.ski & I

3 weeks ago 12 2 0 0
Post image

This Week In React 273

โš›๏ธ
- RedwoodSDK
- Next.js
- TanStack
- RSC
- Async React
- SSR perf
- Base UI
- AI
๐Ÿ“ฑ
- Expo UI / APIs
- Ease
- Keyboard
- Flow type stripping
- DnD
- AI

๐Ÿฟ Read/subscribe: thisweekinreact.com/newsletter/273

โœ๏ธ @jwr.ski & I

3 weeks ago 12 2 0 0
Advertisement
Preview
Expo UI in SDK 55: Jetpack Compose now available for React Native apps Expo UI in SDK 55 brings Jetpack Compose to beta and aligns SwiftUI APIs with Apple's conventions, so your native framework knowledge transfers directly.

๐Ÿค– Jetpack Compose in React Native is here

Expo UI in SDK 55 exposes real Compose & SwiftUI components, not JS reimplementations. Material Design 3 on Android, native SwiftUI on iOS.

Deets in @kudochien.dev's blog:

expo.dev/blog/expo-ui-in-sdk-55-jetpack-compose-now-available-for-react-native-apps

3 weeks ago 28 5 0 0
Post image

This Week In React 272 ๐Ÿค @filipkaminski.com @tboba.pl

โš›๏ธ
- Astro 6
- React Compiler in Rust?
- Next.js
- shadcn CLI 4
- Helmet Async 3
- React Aria
- Preact

๐Ÿ“ฑ
- Navigation
- Expo Agent/Observe/Widget
- Hermes TS
- Evals
- MMKV
- Activity

๐Ÿฟ Read/subscribe: thisweekinreact.com/newsletter/272

4 weeks ago 13 3 0 0
Post image

This Week In React 272 ๐Ÿค @filipkaminski.com @tboba.pl

โš›๏ธ
- Astro 6
- React Compiler in Rust?
- Next.js
- shadcn CLI 4
- Helmet Async 3
- React Aria
- Preact

๐Ÿ“ฑ
- Navigation
- Expo Agent/Observe/Widget
- Hermes TS
- Evals
- MMKV
- Activity

๐Ÿฟ Read/subscribe: thisweekinreact.com/newsletter/272

4 weeks ago 13 3 0 0