React/Flux way to handle permission sensitive actions with login flows

后端 未结 3 999
后悔当初
后悔当初 2021-02-08 20:24

I have been playing with React/Flux, and I am having trouble wrapping my head around the \'Flux Way\' for handling permission-sensitive actions.

Overarching question: W

3条回答
  •  灰色年华
    2021-02-08 20:53

    It should be noted that there's an example called auth-flow in react-router repo, that shines light on how this could be done. Although, I'm still trying to make it work for me it is useful to add here.

提交回复
热议问题