maxmantz / redux-oidc-example

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

Refactor (fixes #12) #14

Closed jonaskello closed 6 years ago

jonaskello commented 6 years ago

This is a highly opinionated refactoring of the example. Please feel free to close instead of merging. It really has too many changes to be considered a proper PR. However I think it might demonstrate some simplifications and improvements that could be made:

jonaskello commented 6 years ago

I use prettier code style and it has double quotes by default. Actually I have a prettier plug-in that formats all code I save automatically so I was not really aware that I reformatted the code :-).

Babel should still be there, I just simplified it a bit by using the babel-env preset.

maxmantz commented 6 years ago

Wow, thank you very much @jonaskello ! This is a great way of simplifying the structure of the app. I hope this will make things easier to understand.