ionic-pwa-toolkit icon indicating copy to clipboard operation
ionic-pwa-toolkit copied to clipboard

improve: add jsx fragment factory

Open simonhaenisch opened this issue 3 years ago • 1 comments

Without the fragment factory you can't use the <> ... </> as a fragment shorthand. If it's set to Fragment instead of h.Fragment, you'd have to manually import Fragment or otherwise you'd get a "Cannot find name 'Fragment'." error. With h.Fragment, <> ... </> just works.

Thanks @WickyNilliams for the hint!

simonhaenisch avatar Mar 05 '21 10:03 simonhaenisch

Need to wait for https://github.com/ionic-team/stencil/pull/2846 to be merged and published, then bump the stencil version here as well.

simonhaenisch avatar Mar 09 '21 10:03 simonhaenisch