Prevent ComposedComponent from appearing before redirect
There is a security issue when ComposedComponent appears for a second before redirect when the user is unauthenticated.
Hi @pulsecat. Thanks for your contribution.
Can you show some test cases for this? This should not happen because componentWillMount() and componentWillUpdate() are invoked immediately before rendering.
hi @jferrettiboke,
It is what I observed on the client side. My React expertise isn't really good but I suspect that this.context.router.push('/') does not have immediate effect and the subsequent render occurred anyway.
I didn't see anything that you mentioned. Can you explain me your use case exactly?