I have this component:
import React, { useState, useEffect } from \"react\"; import ReactDOM from \"react-dom\"; function App() { const [count, setCount]
Now that react 16.7 (the one not containing hooks) is released you might get an error if you type ^16.7.0-alpha.0 with the leading ^ in your package.json.
^16.7.0-alpha.0
^
package.json
For the version with hooks you have to omit the ^.