rsnext/packages/next-swc
Shu Ding 20e13490ab
Restrict useOptimistic and useFormStatus APIs on the server layer (#49331)
This PR extends `invalid_server_react_dom_apis` with
`experimental_useOptimistic` and `experimental_useFormStatus` to create
early compile-time errors.
2023-05-09 00:02:32 +02:00
..
crates Restrict useOptimistic and useFormStatus APIs on the server layer (#49331) 2023-05-09 00:02:32 +02:00
native Extract next-swc Rust code into its own package (#31635) 2021-11-21 12:59:56 +01:00
package.json v13.4.2-canary.2 2023-05-08 19:41:35 +00:00
README.md docs: add readme with development instructions for next/swc (#43834) 2022-12-08 13:38:44 +01:00

@next/swc

This package is responsible for swc compilation customized for next.js

Development

Run tests

cargo test

# Update snapshots and fixtures for tests
UPDATE=1 cargo test

Format code before submitting code

cargo fmt

Build the binary to integrate with next.js

pnpm build-native