---
title: "Discussion on \"The category-change bug hiding inside a tiny React picker\" | Hashnode"
description: "Discussion on \"The category-change bug hiding inside a tiny React picker\". A random-content widget can look correct while using the wrong state. The awkward case is a select box that changes the category and draws a new item in the same event handler.\nIn the Break The Ice qu"
url: "https://hashnode.com/posts/the-category-change-bug-hiding-inside-a-tiny-react-picker/6a9fc5a1f0ea9b7e5495ff4f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The category-change bug hiding inside a tiny React picker](https://gaokaoexam.hashnode.dev/the-category-change-bug-hiding-inside-a-tiny-react-picker?utm_source=hashnode&utm_medium=feed)

A random-content widget can look correct while using the wrong state. The awkward case is a select box that changes the category and draws a new item in the same event handler. In the Break The Ice qu

Sep 8 · 3 min read · gaokaoexam.hashnode.dev  
Read the article

## Written by

[Mr Zhu](https://hashnode.com/@gaokaoexam)

@gaokaoexam

  
[View profile](https://hashnode.com/@gaokaoexam)

Building GaokaoExam.org and learning in public.

I am building GaokaoExam.org, where people can try real Gaokao questions in English. I care about source fidelity, translation review, and honest scoring.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
