Using the shorthand syntax for Fragment results in error

Created on 26 February 2025, about 1 month ago

Overview

I'm getting this JavaScript error when I try to use the shorthand for Fragment (<></>):

 Compilation error: SyntaxError: Unexpected token (35:5)
    at pp$5.raise (babylon.js?v=78afc4bd:3297:17)
    at pp.unexpected (babylon.js?v=78afc4bd:1230:12)
    at pp$9.jsxParseIdentifier (babylon.js?v=78afc4bd:5334:14)
    at pp$9.jsxParseNamespacedName (babylon.js?v=78afc4bd:5342:23)
    at pp$9.jsxParseElementName (babylon.js?v=78afc4bd:5352:23)
    at pp$9.jsxParseOpeningElementAt (babylon.js?v=78afc4bd:5418:24)
    at pp$9.jsxParseElementAt (babylon.js?v=78afc4bd:5435:33)
    at pp$9.jsxParseElement (babylon.js?v=78afc4bd:5480:19)
    at Parser2.parseExprAtom (babylon.js?v=78afc4bd:5490:25)
    at pp$3.parseExprSubscripts (babylon.js?v=78afc4bd:2551:23)

Proposed resolution

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

Theme builder

Created by

🇫🇮Finland lauriii Finland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024