Redirect IE11 users in NextJS
A while ago, a client I work for decided after a lot of discussions to finally drop support for IE11. Hurray!
Later, they decided to a show a nice page with an explanation to anyone who might still be using IE11 and encourage them to download a more modern browser.
But because we dropped support a while ago, we didn't test in IE11 anymore, and so any page we tried to load didn't work. Trying to make the pages work would be a waste of time, because in time they might stop working again.
So we decided to redirect all IE11 users to a simple static page.