Closed honeybadger26 closed 2 months ago
Can we go with either import * as React from 'react';
or import React from 'react';
?
Can we go with either import * as React from 'react'; or import React from 'react';?
Yep. I've gone with the latter since the React docs seem to prefer that way.
Removing the
React
imports causes files to throw aReact is not defined
error (reported in https://github.com/coinjar/react-native-wagmi-charts/issues/179). This PR reverts the removal of these imports and updates the TypeScript rules to account for this.