Double Space Project

The evidence locker

All entries

11 entries in documentation.

Exhibit 252 Documentation Section “resumeToPipeableStream”

React docs: resumeToPipeableStream

resumeToPipeableStream streams a pre-rendered React tree to a pipeable Node.js Stream.

React docs 1 caught ♥ 0

Exhibit 218 Documentation Section “Rule Details”

React docs: config

React Compiler accepts various configuration options to control its behavior. This rule validates that your configuration uses correct option names and value types, preventing silent failures from typos or incorrect settings.

React docs 1 caught ♥ 0

Exhibit 171 Documentation Section “Actions”

React docs: React Labs: What We've Been Working On – February 2024

The action function can operate synchronously or asynchronously. You can define them on the client side using standard JavaScript or on the server with the 'use server' directive. When using an action, React will manage the life cycle of the data submission for you, providing hooks like useFormStatus, and useActionState to access the current state and response of the form action.

React docs 1 caught ♥ 0

Exhibit 146 Documentation

ImageMagick: Magick::Image Class

ChannelType layer_ Extract channel from image. Use this option to extract a particular channel from the image. alphaChannel for example, is useful for extracting the opacity values from an image. / const std::string &comment_ Comment image (add comment string to image). By default, each image is commented with its file name. Use this method to assign a specific comment to the image. Optionally you can include the image filename, type, width, height, or other image attributes by embedding special format characters.

ImageMagick 9 caught ♥ 0

Exhibit 144 Documentation Section “Graphics”

Unity Manual: New in Unity 6.0 Preview

Added a Force No Crunch texture compression setting in Build Profiles > Asset Import Overrides, which forces all textures to disable crunch compression and re-import.

Unity Manual 1 caught ♥ 0

Exhibit 142 Documentation Section “Generic Constraints”

TypeScript handbook: Generics

Instead of working with any and all types, we’d like to constrain this function to work with any and all types that also have the .length property. As long as the type has this member, we’ll allow it, but it’s required to have at least this member. To do so, we must list our requirement as a constraint on what Type can be.

TypeScript handbook 1 caught ♥ 0

Exhibit 094 Documentation Section “Thank you”

React docs: React Conf 2021 Recap

Thanks to everyone who helped provide feedback on talks including Andrew Clark, Dan Abramov, Dave McCabe, Eli White, Joe Savona, Lauren Tan, Rachel Nabors, and Tim Yung.

React docs 1 caught ♥ 0

Exhibit 049 Documentation Section “Return values and arguments to Hooks are immutable”

React docs: Components and Hooks must be pure

If you were to mutate the Hook’s arguments, the custom hook’s memoization will become incorrect, so it’s important to avoid doing that.

React docs 1 caught ♥ 0

Exhibit 012 Documentation Section “React Conf Japan 2027”

React docs: React Conferences

April 24, 2027. In-person in Tokyo, Japan

React docs 1 caught ♥ 0