Skip to content

Worse performance vs V4? #1006

Closed Answered by gabrieljablonski
knubie asked this question in Q&A
Apr 9, 2023 · 2 comments · 11 replies
Discussion options

You must be logged in to vote

The only other difference would be that I'm not using the default CSS any more.

This should've been enough to diagnose it, my bad. As you can see on the README file (also on the docs), importing the default CSS file is NOT optional.

import 'react-tooltip/dist/react-tooltip.css'

You can still use your .tooltip class to style the tooltip as you want, but (as you've just experienced) the default styling is NOT just cosmetic.

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
11 replies
@gabrieljablonski
Comment options

@knubie
Comment options

@gabrieljablonski
Comment options

Answer selected by gabrieljablonski
@knubie
Comment options

@gabrieljablonski
Comment options

@knubie
Comment options

@gabrieljablonski
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants