Another stunning example of how react suckers, bamboozles, and hoodwinks the "wah wah, eye dunz wunna lurns HTML" crowd into THINKING they can make... anything.
It's bad enough scripting off / blocked there's no form, but the "forms" being output have no input and instead LABEL for input NEXT to other labels. It's doubtful structurally you're down to H5 making the heading choice garbage, etc, etc. Don't even get me started about the lack of a submit button.
But worst of all, it's bullshitting you into writing 893 bytes of Javascript that requires a slew of imported dependencies, to create a broken incomplete inaccessible junk 690 bytes of markup that's not even a working form, for what any competent HTML developer would write as around 500 bytes.
What it’s outputting (formatted)
<form name="userForm">
<div>
<h5>Country info</h5>
<div class="container border mb-2 pb-2">
<div>
<div>
<label>Name</label>
<label class="form-control">Ukraine</label>
</div><div>
<label>Capital</label>
<label class="form-control">Kyiv</label>
</div><div>
<label>Region</label>
<label class="form-control">Europe</label>
</div>
<div class="form-check form-switch">
<label class="form-check-label">Sovereign?</label>
<input class="form-check-input" disabled="" type="checkbox">
</div>
</div>
</div>
</div>
</form>
What it likely should be doing.
<form class="companyInfo">
<h2>Country Info</h2>
<fieldset>
<label>
Name<br>
<input name="name" value="Ukraine"><br>
</label><label>
Capital<br>
<input name="capital" value="Kyiv"><br>
</label><label>
Region<br>
<input name="region" value="Europe"><br>
</label><label>
<input type="checkbox" name="sovereign" value="1" checked>
Sovereign?
</label>
<button>Submit</button>
</fieldset>
</form>
Seriously, labels, fieldsets, and input aren't rocket science... and if that gibberish JavaScript object seems "simpler" or "better" you have failed to grasp the point of web technologies. This is why I keep saying React is ignorant, incompetent, inept garbage CREATED by people not qualified to write a single blasted line of HTML.