Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

[RFC] Generic JSX transform

$
0
0

First things first: It’s working fine!

My first observations:

  1. I had to implement a DOM module instead of Elements.
  2. It’s not clear which methods have to be implemented. Some methods have to be implemented in the “root” jsx module and some in the DOM module. Some methos in both.

Well, I could copy all bindings from the docs, but I would like to understand when which method is used. It’s the same in the original react I guess (What is the difference between jsx and jsxs, what is the difference between react and reactDOM bindings, etc.).


Viewing all articles
Browse latest Browse all 2592

Trending Articles