It looks to me like the first codeblock goes in the microfrontend, and the second codeblock goes in the host application (though that isn't entirely clear).
Further, i don't understand where the release would be coming from in the first codeblock, so we assume that is a mistake, and we're actually meant to set it manually from an environment variable in this function."
Suggested Solution
Deeper dive into what code snippets go where.
Specify how Release comes into play - there is no explicit instruction on how to bind release between modules.
Core or SDK?
Platform/SDK
Which part? Which one?
Micro Frontend Support
Description
Feedback received via client regarding Micro Frontend Support:
"we're trying to implement the "Automatically Route Errors to Different Projects Depending on Module" approach (https://docs.sentry.io/platforms/javascript/best-practices/micro-frontends/), and we're having trouble following the documentation.
It looks to me like the first codeblock goes in the microfrontend, and the second codeblock goes in the host application (though that isn't entirely clear).
Further, i don't understand where the release would be coming from in the first codeblock, so we assume that is a mistake, and we're actually meant to set it manually from an environment variable in this function."
Suggested Solution