Open nianxiongdi opened 5 months ago
// source code of metro
const inject = ({ module: [id, code], sourceURL }) => {
if (global.globalEvalWithSourceUrl) {
global.globalEvalWithSourceUrl(code, sourceURL);
} else {
eval(code);
}
};
during the second update code, it was found that the code and sourceURL
were the latest, but the original components were used when rendering. The component is not updated.
same problem
Modify file A and cannot trigger hot.
I would like to ask how to trigger my bundlejs file through metro and trigger hot update again.
Thank you very much.