df0fb70c8c
### What? Adds support for Server Actions imported by both server and client. ### Why? If an Action is imported by both the Client and RSC layers, we need to support them as if they're the same action. ### How? First, we need to ensure both layers create the same action hash ids, which we can then use to deduplicate actions imported by both layers. If a conflict is found, we prefer the RSC layer's action. Closes WEB-1879 --------- Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
crates | ||
native | ||
package.json | ||
README.md |
@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