fix(jsx): allow null, undefined, and boolean to be returned from function component (#3241)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* fix(jsx): allow `null`, `undefined`, and `boolean` to be returned from function component * fix(jsx): allow `null` to be returned from `FC` type * test: add test for empty fragment in `"jsx": "precompile"` Empty Fragment is converted to null in `"jsx": "precompile"`, so add a test for that pattern
authored by Taku Amano · committed by GitHub · parent e123546 · Browse files · 3 files+32 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+32 added−5 removed
- tests:+24 added−0 removed
- other:+8 added−5 removed