Closed mmews-n4 closed 5 months ago
The n4jsx compiler compiles a redundant Object.assign() , e.g.
<div foo="ff" />
into
React.createElement('div', Object.assign({ foo: "ff" }));
Notes:
also see: 1) here 2) and here
More notes:
import * as React from "react"
The n4jsx compiler compiles a redundant Object.assign() , e.g.
into
Notes:
also see: 1) here 2) and here
More notes:
import * as React from "react"
) [...] is also a valid style" from 1)