For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/react-webpack-plugin.reactwebpackpluginoptions.experimental_reevaljsonreload.md.
This is the dev preview website. Check out the document at 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;