Patch Changes
99ff7cefd3fa1bc7724705b89ebcf3bfcc0a0821#4767 Thanks @kubk! - Vite plugin: fix "Invalid hook call" and a page reload on the first dev-server start. Vite's dependency scanner does not see theobserverimport the plugin adds to components, so it discoveredmobx-react-litelate and re-optimized while the page was loading. The plugin now addsmobx-react-litetooptimizeDeps.include.