We're a place where coders share, stay up-to-date and grow their careers.
Can I ask a stupid question? Which one is easier to debug? For instance, if there is mistyped variable name, which solution gives me the most friendly message to track down that error source? Thanks!
Well, jsx is transpiled to plain JavaScript function calls, so both jsx and the equivalent hyperscript will result in the same error message.
Helpful explanation, thanks.
Can I ask a stupid question? Which one is easier to debug? For instance, if there is mistyped variable name, which solution gives me the most friendly message to track down that error source? Thanks!
Well, jsx is transpiled to plain JavaScript function calls, so both jsx and the equivalent hyperscript will result in the same error message.
Helpful explanation, thanks.