Closed dantman closed 3 years ago
Imports like rafc(e) include an import React from 'react';.
rafc(e)
import React from 'react';
Current react transforms (both Babel and TypeScript) no longer expect React to be in scope and auto-import the new export from react that they need.
React
imr already includes this line if you absolutely need it.
imr
Duplication of #153
Imports like
rafc(e)
include animport React from 'react';
.Current react transforms (both Babel and TypeScript) no longer expect
React
to be in scope and auto-import the new export from react that they need.imr
already includes this line if you absolutely need it.