3 ms·
React-dom/server APIs are great for this. Writing jsx (as opposed to template literals as in OP) is generally a nicer DX, and you can keep the setup fairly mini
by nosefurhairdo 2y ago
React-dom/server APIs are great for this. Writing jsx (as opposed to template literals as in OP) is generally a nicer DX, and you can keep the setup fairly minimal.