For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/react-webpack-plugin.reactwebpackpluginoptions.experimental_reevaljsonreload.md.
这是开发预览网站。请访问正式文档 lynx-stack.dev

Home > @lynx-js/react-webpack-plugin > ReactWebpackPluginOptions > experimental_reEvalJSOnReload

ReactWebpackPluginOptions.experimental_reEvalJSOnReload property

Re-evaluate the whole JS bundle on reloadTemplate instead of reusing the JSX of the previous render, so module scoped state of the entry is reset while the element tree is still reused.

Signature:

experimental_reEvalJSOnReload?: boolean;