Dojo 2 and JSX syntax


I’m working on a project, and I’ve written quite a bit of it using Dojo 1. I’m considering switching over to Dojo 2, but it will involve learning typescript and a lot of re-writing and re-organizing, and I’m trying to decide if that’s a good idea at this point. Part of the re-write will involve replacing HTML templates with Dojo 2’s vdom stuff v(…) and it occurred to me that maybe typescript’s JSX syntax could ease some of the transition. Has anyone tried that?


Dojo 2 supports JSX/TSX just fine, for what it’s worth. In particular the todo-mvc-tsx example is a good starting point, .


Thanks! and I just found