Last 12 weeks Β· 0 commits
3 of 6 standards met
It may be worth extending with a case for . In a way it's a bit weird as it is technically as if the comment in would actually work. But practically, I think it makes sense, commenting out JSXElements is currently quite unintuitive/hacky as you have to write: Note that comments actually affect (split) the children too, rather than being transparent. I'm proposing extending the syntax to support the following: As I mentioned, it is a bit weird in a way but still rather intuitive and useful, especially in the sense of having JSX feel like a true extension of JS and not just sugar. I think there is little to lose here; , and are unlikely to occur in text, if they do then HTML-entities or JS-escaping (#4) to the rescue. Or if you don't care about children (half-related #6, leading/tailing whitespace).
Description This pull request updates the company βAboutβ page link in documentation to reflect the rebranding from Facebook to Meta. Changes made: Replaced outdated link: https://about.facebook.com/meta/ β https://www.meta.com/en-gb/about/ This ensures all external references point to the official Meta website for consistency and accuracy. Test plan β Verified that the updated link correctly redirects to Metaβs About page. β Confirmed no other links or content were modified.
Repository: facebook/jsx. Description: The JSX specification is a XML-like syntax extension to ECMAScript. Stars: 1989, Forks: 130. Primary language: HTML. Languages: HTML (100%). Homepage: http://facebook.github.io/jsx/ Open PRs: 5, open issues: 49. Last activity: 2y ago. Community health: 62%. Top contributors: sebmarkbage, RReverser, Huxpro, vjeux, clemmy, dmitryvinn-fb, calebmer, sophiebits, kuraga, Josh-Cena and others.
Just like svelte has shorthand attributes And after vue3.4 also supported same-name shorthand. Proposal Shorthand props So can we also support shorthand props like svelte: I know jsx can use {...{ src }} instead, but it's not beautiful for me. I already created a plugin unplugin-jsx-short-bind to support it, because of , and don't support shorthand props, so I use ast-grep to parse ast.