next.js
a572740f - Create spans for `createServerReference` and `registerServerReference` (#70564)

Commit
1 year ago
Create spans for `createServerReference` and `registerServerReference` (#70564) Creating proper source location spans for `createServerReference` and `registerServerReference` is the next step in enabling source mapping of server actions. With the added e2e test app, we can already verify that this works by mocking `findSourceMapURL`. Properly implementing `findSourceMapURL` will be the last missing piece to complete the puzzle. <img width="751" alt="server action go to definition" src="https://github.com/user-attachments/assets/bfe26e92-c497-40d0-ab39-ba0febbd412f"> <img width="751" alt="server action source" src="https://github.com/user-attachments/assets/daaecf4e-0bd7-44ab-b082-68a24cdf33f9"> <img width="1039" alt="source map viz server" src="https://github.com/user-attachments/assets/9b2fc944-29e9-4ed4-82a9-8a27f82e913c"> <img width="1039" alt="source map viz client" src="https://github.com/user-attachments/assets/7fc2f86c-8e74-49e6-be59-9edf5494eb57">
Author
Parents
Loading