C:\GIT\json>V8Unpack.exe -P C:\GIT\json\JSON.epf C:\GIT\json\
LoadFile: ok
import React, { useState, useEffect } from 'react';
import ReactDOM from 'react-dom';
import Form from "@rjsf/core";
console.log(Form);
const onSubmit = ({ formData }) => console.log("Data submitted: ", formData);
let yourForm;
(async () => {
const data = await fetch('http://localhost/lk-ssl/hs/json/new_student') // дописать параметры типа /url?param1=100
const schema = await data.json();
//console.log(schema);
ReactDOM.render(
React.createElement(
Form,
{
schema: schema,
onSubmit: onSubmit
}
),
document.getElementById("app"));
})();