Skip to content

Glossary: Next.js Beyond the Basics

.bind(null, value)

Also written: bind

A JavaScript method that makes a new function with its first argument already filled in. Kettle & Crane uses it so a stock form can call updateStock("DEC-12", formData) without sending the SKU in a field.

Where the book teaches it

Related terms

Server actionFormData