0
7
llucycodes42
The code creates a list the length of first and sets the first element of the list to second. The second element of the list is set to the result of using the function useState on the second element of the input list.
Library: react
Shortcut: use_state_snippet
const [first, set${1/(.*)//capitalize/}] = useState(second)