Google News
logo
TypeScript - Quiz(MCQ)
Which statements are true regarding JSX modes?
A)
The react mode will emit React.addElement
B)
The output of react mode will have a .jsx file extension
C)
These modes only affect the emit stage - type checking is unaffected
D)
The preserve mode will keep the JSX as part of the output to be further consumed by another transform step

Correct Answer :   The preserve mode will keep the JSX as part of the output to be further consumed by another transform step

Advertisement