Redirecting user back to protected page after signing (React/Redux)
In developing web applications it’s a common practice to redirect user to login page if he tries to visit protected route. It’s also cool to redirect user back to protected route after he has successfully authenticated. My approach in React/Redux is to (1) store a route endpoint in Redux state when unauthorized user attempts to…
redux-observable is epic, goodbye redux-thunk and axios
Redux-observable is alternative way of performing async operations in JavaScript applications that use redux, apart from redux-thunk. And certainly more awesome. It uses RxJS underneath which I already wrote about briefly. Apart from bringing the power of functional reactive programming into my application I also see it as a way to better structure my application…