Skip to content

Conversation

@oliviertassinari
Copy link
Member

Help with #11942.

@oliviertassinari oliviertassinari force-pushed the with-styles-safer-prefix branch from f369353 to 97043c9 Compare June 21, 2018 22:16
@oliviertassinari oliviertassinari added the type: new feature Expand the scope of the product to solve a new problem. label Jun 21, 2018
@oliviertassinari oliviertassinari merged commit 83ee54b into mui:master Jun 22, 2018
@oliviertassinari oliviertassinari deleted the with-styles-safer-prefix branch June 22, 2018 07:45
@jmcpeak
Copy link
Contributor

jmcpeak commented Jul 6, 2018

Hey - great fix - but we are using recompose along with some nested components - we hit that 100 character prefix already. I'd like to stop getting these console errors - maybe an option to turn off the warning?

@oliviertassinari
Copy link
Member Author

@jmcpeak As far as I have read the CSS specification, there is no max-length for a CSS selector. What's the length of your displayName. Can we get along by increasing the threshold?

@jmcpeak
Copy link
Contributor

jmcpeak commented Jul 6, 2018

Yeah - bumping the limit would work as well.

Here's the longest one to date:

Connect(withState(withState(withState(withState(withProps(Connect(withProps(withHandlers(withHandlers(withHandlers(withHandlers(pure(PayerDetailScheduledTransactions)))))))))))))

256 seems reasonable?

@oliviertassinari
Copy link
Member Author

@jmcpeak Do you want to submit a pull request? :)

@jmcpeak
Copy link
Contributor

jmcpeak commented Jul 6, 2018

It's been awhile - but sure - I'll put on together tonight... :-)

@oliviertassinari
Copy link
Member Author

@jmcpeak Anytime you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: new feature Expand the scope of the product to solve a new problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants