Unify useContext usage

chore: unify useContext usage (#39314)
Unify useContext usagechoreunify usecontext usage

Committed by wangxingkang

commit message
chore: unify useContext usage (#39314)

* feat: replace useContext to React.useContext
 
* docs(checkbox): update defaultValue、value type

Editor assessment

The subject states the cleanup — `useContext` usage is unified — which is directionally clear but names no components or pattern; the body's squash-merge bullet list adds one concrete fragment (`feat: replace useContext to React.useContext`, itself grammatically off) suggesting direct imports replace the re-exported helper, plus an unrelated checkbox docs note. Type `chore` is loose for a cross-file code change, where `refactor` fits better, though the straddle is tolerable. Footers are absent. The intent is followable and the scope honest, but the unexplained motivation and muddled bullet keep the teaching value mediocre.

Browse categories

More chore examples · Back to search