What version of Bun is running?
1.0.16+800fb1290
What platform is your computer?
Darwin 21.6.0 arm64 arm
What steps can reproduce the bug?
Using a <></> and <Fragment> in the same file.
Sandbox: https://codesandbox.io/p/devbox/smoosh-wind-nwd8nq
What is the expected behavior?
Allows using both <></> and <Fragment /> syntax in the same file.
What do you see instead?
An error is reported
Additional information
Most of the time I use the shorthand fragment syntax <></> but a fragment within an array such as .map requires using a key, which the shorthand syntax does not support.
What version of Bun is running?
1.0.16+800fb1290
What platform is your computer?
Darwin 21.6.0 arm64 arm
What steps can reproduce the bug?
Using a
<></>and<Fragment>in the same file.Sandbox: https://codesandbox.io/p/devbox/smoosh-wind-nwd8nq
What is the expected behavior?
Allows using both
<></>and<Fragment />syntax in the same file.What do you see instead?
An error is reported
Additional information
Most of the time I use the shorthand fragment syntax
<></>but a fragment within an array such as.maprequires using a key, which the shorthand syntax does not support.