VikLiegostaiev / react-page-scroller

Simple React component for smoothy full-page scolling using CSS animations. React Page Scroller
https://github.com/VikLiegostaiev/react-page-scroller
MIT License
417 stars 84 forks source link

Is this package SEO friendly with SSR? #79

Open ixam1 opened 3 years ago

ixam1 commented 3 years ago

It´s great that this package works with SSR (I use gatsby).

But I have noticed, when you view source of a site with React Page Scroller. All elements inside the page scroller are missing.

Doesnt this mean all elements inside the page scroller are inaccessible to Crawlers from Google etc.?

I hope there is a workarund for that?

chenkuangkuang commented 1 year ago

same question

stefantrinh1 commented 1 year ago

renderAllPagesOnFirstRender renders all the elements on first load maybe this prop will allow robots to see the missing elements you mentioned. haven't tested it tho