-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Support Remix [SSR] #32825
Comments
@it950, could you please give more details? |
In the remix document, css in js is not recommended, while fluentui v9 uses css in js technology. Therefore, can fluentui v9 be installed directly in remix? In addition, there is no introduction on how to use in remix in the fluent v9 document |
Have you tried to install it? And have you tried to follow instruction of using SSR in V9? If it's not working, please let me know what errors you have |
I have created a remix start project only install @fluentui/react-components and @fluentui/react-icons, export default function App() {
return (
<FluentProvider theme={webLightTheme}>
<Outlet />
</FluentProvider>
);
} How to setup a new remix project correctly that use a @fluent/react-components and @fluentui/react-icons ? |
The issue is that v9 does not support native ESM, see #26176 and #23508. However, there is a workaround. Quoting myself from an internal chat:
|
@layershifter Much appreciated! 😊
|
@it950 indeed, sadly
|
Hey, this requires a proper investigation and unfortunately I don't have capacity to do a proper investigation now :( |
@it950 regarding @fluentui/react-icons
I used @layershifter idea of building a plugin and created one to fix the issues in this package ..
I did not get the error, but not sure if the icons are displayed correctly .. |
@georgetakla Thank you very much. |
@it950 , I hope it worked for you. I ran into difficulties using the packages. I hope you have some success |
@georgetakla I have gave up migrating cra to remix, because there are a lot of others issues for fluent packages( such as peer dependencies )run with remixes, I am now waiting for the react route v7, which will include remix features in it |
Check out my recipe #33317 |
Library
React Components / v9 (@fluentui/react-components)
Describe the feature that you would like added
Does fluentui v9 support remix? how to do it?
Have you discussed this feature with our team
No
Additional context
No response
Validations
Priority
None
The text was updated successfully, but these errors were encountered: