Any out of date NPM modules just convert and add as a component instead of a module. I use Gatsby and It was working fine with React 18.2.0, but I did not like the React build warnings, so I made a module out of it and it works the same, with no build warnings. Updated to Typescript and change the react calls.
As
import * as React from 'react'
import { Component } from 'react'
My repo component at: PubliusLogic
Any out of date NPM modules just convert and add as a component instead of a module. I use Gatsby and It was working fine with React 18.2.0, but I did not like the React build warnings, so I made a module out of it and it works the same, with no build warnings. Updated to Typescript and change the react calls. As import * as React from 'react' import { Component } from 'react'
My repo component at: PubliusLogic