You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when enable react "strictmode", fluentui doesnt render any styles. import { FluentProvider } from "@fluentui/react-components"; import { StrictMode } from "react"; import * as ReactDOMClient from "react-dom/client";
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
No response
Reproduction
https://codesandbox.io/s/elegant-hertz-4g4di1
Bug Description
Actual Behavior
when enable react "strictmode", fluentui doesnt render any styles.
import { FluentProvider } from "@fluentui/react-components";
import { StrictMode } from "react";
import * as ReactDOMClient from "react-dom/client";
import App from "./App";
const rootElement = document.getElementById("root");
const root = ReactDOMClient.createRoot(rootElement);
root.render(
<StrictMode>
<FluentProvider>
<App />
</FluentProvider>
</StrictMode>
);
by removing , everything go normal.
Expected Behavior
when enable react "strictmode", fluentui renders properly.
Logs
No response
Requested priority
Normal
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: