React Full Page
This is an implementation of fullpage.js in react. For the moment this is still in development and a lot of things can change.
Install
npm install --save react-fullpage
Usage
A basic usage
Fixed header and footer
In case you need a fixed header and footer you can also include the Header
or Footer
component
Default Props
Some of this props can be referenced with the fullpage.js options
Full example
You can find the full example here
Scroll Restoration with React Router
When using react-fullpage with react-router, you may want to use the ScrollToTopOnMount
helper component to restore scroll position when switching between routes. More information can be found here.