on react 18 beginners I’m not having FormEvent autofill from react. I compaired mosh’s solution with mine, Would mine work below? honestly neither has an error does that mean both solutions are correct even though it dosn’t autofill like his? i’m on node v 9.5.0 should i update?
this is what mosh says to do
import React, {FormEvent} from “react”;
const Form = () => {
const handleSubmit = (event: FormEvent) =>
This is what I did
import React from “react”;
const Form = () => {
const handleSubmit = (event: react.FormEvent) =>