swiper/react problem in ssr mode #7340
matin-mortazavi
started this conversation in
General
Replies: 2 comments 2 replies
-
We face the same issue, on initial render (for a split second), the style messed up. It'd be nice to have swiper working nice with SSR. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Someone fix this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Check that this is really a bug
Reproduction link
hhtps://i-provide-code-in-description
Bug description
hi guys i’ve a problem with swiper/react package in ssr mode
i got an parent component that fetch data and pass it to a component
the child component show product in slider but problem is in first 0.5 second of first renedr all styles are messed up (in csr work well)
have you any idea how to handle it?! i think the problem related to slow loading of react-swiper
my parent component =>
my child component =>
my slider component =>
Expected Behavior
No response
Actual Behavior
No response
Swiper version
11.0.4
Platform/Target and Browser Versions
chorome
Validations
Would you like to open a PR for this bug?
Beta Was this translation helpful? Give feedback.
All reactions