You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeScript added support for this syntax in 2.7, but it does not work in Tabris.js because we use the jsxFactory compiler option. This is a limitation that may be eliminated in the near future: microsoft/TypeScript#20469
Once fragments work with jsxFactory we should support it.
The text was updated successfully, but these errors were encountered:
Currently the shortest syntax is to add multiple JSX elements in one
append
call is to use commas:Very ugly. The alternative is to use WidgetCollection:
However, this is much longer. In React there is also the fragment element, which would make it look like this:
TypeScript added support for this syntax in 2.7, but it does not work in Tabris.js because we use the
jsxFactory
compiler option. This is a limitation that may be eliminated in the near future: microsoft/TypeScript#20469Once fragments work with
jsxFactory
we should support it.The text was updated successfully, but these errors were encountered: