[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66643] JavaScript parser stops after it encounters a JSX tag withi
From: |
fiurgeist |
Subject: |
[bug #66643] JavaScript parser stops after it encounters a JSX tag within a JSX tag attribute |
Date: |
Tue, 7 Jan 2025 11:01:03 -0500 (EST) |
Follow-up Comment #1, bug #66643 (group gettext):
actually, there is the same behaviour when having a conditional tag in JSX
const App = () => (
<div>
{gettext('one')}
{foo && <div>gettext('two')</div>}
{gettext('three')}
</div>
);
so, the condition may be: "parser stops after a JSX tag is within a curly
braces block"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66643>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature