Skip to content
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

[DataGrid] Fix SSR support #135

Merged
merged 1 commit into from
Aug 2, 2020

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jul 31, 2020

Fix #98.

I didn't test the changes, I would need #115 for doing such but I hope it's good enough, finger crossed.

This is important so we can document the data grid components.

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! labels Jul 31, 2020
@oliviertassinari
Copy link
Member Author

I have tested the change manually, we are good, I'm merging to unlock #115.

@oliviertassinari oliviertassinari merged commit d9b15ca into mui:master Aug 2, 2020
@oliviertassinari oliviertassinari deleted the ssr-support branch August 2, 2020 15:59
@oliviertassinari oliviertassinari removed the request for review from dtassone August 2, 2020 15:59
export function useLoggerFactory(
customLogger?: Logger | LoggerFactoryFn,
logLevel: string | boolean = 'debug',
logLevel: string = 'debug',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the boolean was to turn off logging

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. I have restored it in a follow up pull request. If you check master it should be back in here. It was creating TypeScript errors in the demos/stories but wasn't catch by the CI.

The CI part is now covered by building in Netlify the current commit, it's not ideal but it's a good first safeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server-side rendering support
2 participants