What is the best way to block the ui, when, let's say, a subscription ends? The notification that the subscription ends comes from the back end. But what then? Set a flag in every component whether it is rendered or not? Manage it through redux? Wrap every component in a HOC which gets the information about the end of subscription? Are there libraries? I looked into this https://github.com/tdeekens/flopflip but thats a little too much. I don't want a provider such as launch darkly.
I am a little clueless, never did that and thankful for every finger point...