C
C
campus12018-07-01 01:57:14
React
campus1, 2018-07-01 01:57:14

React/Redux examples?

Hello. Familiar with React/Redux. Now I want to start developing a rather large project (for myself) (third party API). And I had a number of interesting questions
1. How is such a thing as pagination implemented? It is she who is interested, because I know how to do Infinite scroll & Load more.
2. How to implement authentication? Interested in how to determine the authorized user from just logged in (I think with the help of localStorage).
PS for auth I want to use JWT || OAuth2
Please provide examples / articles / tutorials to see.
Thank you very much for the replies.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Filippov, 2018-07-01
@campus1

1) https://react.semantic-ui.com/addons/pagination
2) better in cookies, get a token from the server, put it there, take a token from them in requests

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question