maxmantz / redux-oidc-example

Small ReactJS application to demonstrate the usage of redux-oidc
MIT License
108 stars 68 forks source link

How would I use this with redux #12

Closed Hyjaz closed 6 years ago

Hyjaz commented 6 years ago

Hi, How would I use this with redux and not redux-saga. I get a null value for user.

It is very frustrating.

jonaskello commented 6 years ago

I would tend to agree that the use of redux-saga for this example is overkill and makes the threshold higher for new users as they need to learn yet another library. (Don't get me wrong, I use redux-saga myself and it's great for some cases).

I could make a PR to remove redux-saga from the example if that is something that would be accepted?

jonaskello commented 6 years ago

@Hyjaz Have a look at the refactor branch of my fork, it has no redux-saga in it.

Hyjaz commented 6 years ago

@jonaskello I'm good with your changes. I have left a few trivial comments. We made this work after a few days.