mirror of
https://github.com/github/codeql.git
synced 2026-02-12 05:01:06 +01:00
Update javascript/ql/lib/semmle/javascript/frameworks/React.qll
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -615,7 +615,7 @@ private class UseStateStep extends PreCallGraphStep {
|
||||
/**
|
||||
* Step through a `useRef` call.
|
||||
*
|
||||
* It returns a pair of the initial state, and an object with a single property (current) potentially containing an input value.
|
||||
* It returns an object with a single property (`current`) initialized to the initial value.
|
||||
*
|
||||
* For example:
|
||||
* ```js
|
||||
|
||||
Reference in New Issue
Block a user