Paged.js and React

We had a lot of question about how to use paged.js in a React environment. This topic will try to show some examples from the community.

Here is the example @julien shared with me in the mattermost:

1 Like

Was that enough to get started @beau?

If so, it could end up in the documentation :slight_smile:

Yes, it was helpful. I’ve made another implementation using functional React components which may be even more helpful as a simple example: https://codesandbox.io/s/awesome-butterfly-lxfls

I’d like to update this example with more examples of pagedjs features, but this is a solid example to provide to React users.

Heres a github repo for the same example: https://github.com/beausmith/example-react-pagedjs/tree/master