"keyword">const</span> type <span class="operator">=</span> <span class="function"><a href="/api/the-essentials/using-react/usevalue/">useValue</a></span><span class="punctuation">(</span><span class="string">'type'</span><span class="punctuation">,</span> <span class="string">'viewStore'</span><span class="punctuation">)</span><span class="punctuation">;</span>
</span><span class="unchanged"><span class="prefix"> </span>  <span class="keyword">const</span> handleChange <span class="operator">=</span> <span