Repository navigation
Docs update #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Docs update #20
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
7cf103c
doc: massive web-site and documentation update
Artifizer fc5210b
docs: added GTS Kit VS Code plugin screenshots
Artifizer 936a726
Merge branch 'main' into docs-update
Artifizer e1c71db
docs: update examples
Artifizer faf1ce7
Merge branch 'main' into docs-update
Artifizer 7abbad5
chore: update third-party dependencies
Artifizer 7c08ff5
Merge branch 'main' into docs-update
Artifizer e42aebb
docs: update 'why GTS' section
Artifizer 4a07444
fix: use proper links to the specification
Artifizer 82e8869
docs: minor update the VS Code plugin description in pages/Landing.tsx
Artifizer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: GlobalTypeSystem/gts-web
Length of output: 50381
🏁 Script executed:
Repository: GlobalTypeSystem/gts-web
Length of output: 1715
🤖 get_repo_knowledge executed:
get_repo_knowledge GlobalTypeSystem/gts-web /tmp/coderabbit-repo-knowledge/globaltypesystem-gts-web-fcd80e2f/architectureLength of output: 7444
🌐 Web query:
site:react.dev React 19 class attribute className JSX supported invalid prop warning💡 Result:
<search_synthesis>
In React 19, just as in previous versions, you must use the
classNameattribute instead ofclasswhen defining CSS classes on standard DOM elements [1][2]. Becauseclassis a reserved keyword in JavaScript, React usesclassNameto map to the underlying DOM property [1][3]. If you useclassinstead ofclassNamein your JSX, React will trigger an "unknown prop" warning in the browser console [4][1][3]. This warning alerts you that the attribute is not a standard DOM property or attribute recognized by React for that element [4]. While React 19 introduced significant changes—such as full support for custom elements, which allows them to accept standard attributes and properties differently than built-in HTML tags [5]—the requirement to useclassNamefor standard HTML elements remains unchanged [1][2]. To resolve the warning, simply rename theclassattribute toclassName[1][3]. If you are using a code editor or IDE, you may be able to use a JSX converter or a refactoring tool to automate this change [1][3].</search_synthesis>
<source_evidence>
Citations:
Use
classNamefor the inline code elements.React 19.2.3 expects
classNamefor standard DOM elements. Theseclassattributes can trigger an invalid-prop warning in the browser console.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents