000d022b4e
This PR implements initial support for `.bind` syntax for inline actions (not top-level `"use server"` files yet). For example: ```js export default function Page({ foo, x, y }) { async function action(a, b, c, d) { 'use server' console.log(a, b, c, d) } return <ClientComp action={action.bind(null, foo[0], foo[1], foo.x, foo[y])} /> } ``` Is now valid. Fixes NEXT-1109. |
||
---|---|---|
.. | ||
create-next-app | ||
eslint-config-next | ||
eslint-plugin-next | ||
font | ||
next | ||
next-bundle-analyzer | ||
next-codemod | ||
next-env | ||
next-mdx | ||
next-plugin-storybook | ||
next-polyfill-module | ||
next-polyfill-nomodule | ||
next-swc | ||
react-dev-overlay | ||
react-refresh-utils |