How to combine form using React Js? [Snippet Attached]
问题 I am trying to make a form in reactjs like this https://jsonresume.org/schema/ (JSON Format). index.js: import React, { useState, Fragment } from 'react'; import BasicDetails from '../components/basic_details'; import EmploymentDetails from '../components/employment_details'; const App = () => { const handleSubmit = (e) => { e.preventDefault(); console.log('get the whole form json here'); }; return ( <> <h1>Dynamic Form Fields in React</h1> <form onSubmit={handleSubmit}> Basic Details: <br />