Skip to content

Commit

Permalink
Re-enable support_jsxs_in_jsx_transform flag (#10734)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBurger authored May 2, 2024
1 parent 5d7b3ab commit c9108d1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/feature_flags.zig
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,10 @@ pub const disable_lolhtml = false;
/// "localhost" fails to connect.
pub const hardcode_localhost_to_127_0_0_1 = false;

/// React doesn't do anything with jsxs
/// If the "jsxs" import is development, "jsxs" isn't supported
/// But it's very easy to end up importing it accidentally, causing an error at runtime
/// so we just disable it
pub const support_jsxs_in_jsx_transform = false;
/// React will issue warnings in development if there are multiple children
/// without keys and "jsxs" is not used.
/// https://github.com/oven-sh/bun/issues/10733
pub const support_jsxs_in_jsx_transform = true;

pub const use_simdutf = bun.Environment.isNative and !bun.JSC.is_bindgen;

Expand Down

0 comments on commit c9108d1

Please sign in to comment.