ser
to fill out and the user accidentally navigates backwards. Unless the
transition is prevented, the user might lose all of the progress they
made on the form, which can make for a pretty frustrating user experience.</p>
<p>Here's one way this situation could be handled:</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/routes/form.js</span><pre class="language-javascript line-numbers"><code class="javascript language-javascript"><span class="token keyword">import</span> Route <span