How to use JSX
Hi I was trying to do a hands on with this library and I was curious if I could use JSX how can I do that? Also I am coming from a React background and I am just curious how it works when doing any AJAX request I don't see much documentation hence these questions
Improved support for JSX just landed last night, though the motivation for JSX within RawJS was to make StrawJS (RawJS-based static site generator) work better.
I'd have to look at specifically what you're trying to do, but JSX is quite a bit less ergonomic in terms of it's ability. RawJS's gems like raw.get(), portable event attachments with raw.on, and it's unique handling CSS aren't possible with JSX alone, which was one of the motivations for creating RawJS in the first place. So I guess my suspicion is that you might be thinking about things wrong? Not that any of this is your fault––as you said, the documentation around how to really leverage the power of this library is still a bit thin.