DEV Community

Discussion on: React Splide with Gatsby: Top Tip

Collapse
 
animald profile image
animald

Hi, if you're still having issues I suggest you try reverting the changes made and importing node-self before your splider import.

The self is not defined error relates to self not being implemented in NodeJs - the above fixes that issue and the result should be a fully working SSR rendered splider. (At least that is the case in my Gridsome project).

Cheers!

Collapse
 
jamiebradley profile image
Jamie Bradley

Thanks @animald , appreciate the input!