We prefer JSX over template due to its flexibility and readability.
Plus, we want to make it easier for contributors. JSX is a very familiar syntax to Front-end developers (Including Vue or React developers). And if possible in the future refactoring work, we can build common JSX files.
A Form component tree is as follows:
├─ Main.tsx ├──── Form.tsx ├─────── Section.tsx (loop) ├────────── Field.tsx (loop) ├─(can be)─ FormklCheckbox.tsx ├─(can be)─ FormklSelect.tsx ├─(can be)─ FormklRadio.tsx