The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Hi @Ethan T
Based on my research, looks like “React 18 support for SPFx solutions” is explicitly listed on the roadmap under Version 1.24 (June 2026) suggests that SPFx 1.23 version does not yet officially support React 18.
When using React 18.2 with SPFx 1.23 during local development (gulp serve/local workbench), the solution may appear to work correctly because the local environment allows the web part to bundle and execute a developer‑installed React version without involving the full SharePoint Online runtime.
Once the solution is deployed to the tenant, however, it runs inside the standard SharePoint runtime, where the core SPFx ecosystem and officially supported dependencies are controlled by Microsoft.
The newly introduced in‑page Debugging Toolbar, which Microsoft recently rolled out to tenants, is implemented against the current supported SharePoint / SPFx runtime, which is still aligned with React 17.x. While the toolbar itself is documented as a server‑side feature and not intended to change the client‑side runtime, using React 18 outside the officially supported SPFx version can still lead to unexpected runtime behavior.
In particular, mixing a web part bundled with React 18.2 into an environment that assumes a React 17‑based runtime model may result in internal rendering or hook reconciliation issues that are not surfaced as explicit errors by SPFx, leading to blank rendering or silent failures in production.
Given the current documentation and roadmap, this behavior appears more consistent with running an unsupported React version on SPFx 1.23, rather than a documented or intended side effect of the new debugging toolbar itself.
You can refer via: SharePoint Framework (SPFx) roadmap update – March 2026 - Microsoft 365 Developer Blog
To troubleshoot this issue, you could consider to downgrade React in your project to the version officially supported by SPFx 1.23 (React 17.x).
Remove the existing node_modules folder and the package-lock.json file.
Reinstall React 17.x, using the version recommended by Microsoft for SPFx 1.23.
By doing so, your web part will use the same React core version as SharePoint and the in‑page Debugging Toolbar, which helps ensure a much more stable runtime. This approach should significantly reduce the risk of blank rendering or silent issues caused by framework version conflicts.
I hope my information is helpful. If you have any additional concerns, feel free to comment below. I would be more than happy to assist.
Note: Please follow the steps in [our documentation] to enable e-mail notifications if you want to receive the related email notification for this thread.