René's URL Explorer Experiment


Title: JSX: found the duplicated prop `className` · Issue #2 · rescriptbr/rescript-react-bootstrap · GitHub

Open Graph Title: JSX: found the duplicated prop `className` · Issue #2 · rescriptbr/rescript-react-bootstrap

X Title: JSX: found the duplicated prop `className` · Issue #2 · rescriptbr/rescript-react-bootstrap

Description: Here is my package.json { "name": "team-member-allocation", "version": "0.1.0", "scripts": { "clean": "rescript clean", "build": "rescript build", "watch": "rescript build -w" }, "keywords": [ "ReScript" ], "author": "", "license": "MIT"...

Open Graph Description: Here is my package.json { "name": "team-member-allocation", "version": "0.1.0", "scripts": { "clean": "rescript clean", "build": "rescript build", "watch": "rescript build -w" }, "keywords": [ "ReS...

X Description: Here is my package.json { "name": "team-member-allocation", "version": "0.1.0", "scripts": { "clean": "rescript clean", "b...

Opengraph URL: https://github.com/rescriptbr/rescript-react-bootstrap/issues/2

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JSX: found the duplicated prop `className`","articleBody":"Here is my package.json\r\n\r\n```\r\n{\r\n  \"name\": \"team-member-allocation\",\r\n  \"version\": \"0.1.0\",\r\n  \"scripts\": {\r\n    \"clean\": \"rescript clean\",\r\n    \"build\": \"rescript build\",\r\n    \"watch\": \"rescript build -w\"\r\n  },\r\n  \"keywords\": [\r\n    \"ReScript\"\r\n  ],\r\n  \"author\": \"\",\r\n  \"license\": \"MIT\",\r\n  \"devDependencies\": {\r\n    \"@rescriptbr/react-bootstrap\": \"github:rescriptbr/rescript-react-bootstrap\",\r\n    \"copy-webpack-plugin\": \"^11.0.0\",\r\n    \"css-loader\": \"^6.7.3\",\r\n    \"html-webpack-plugin\": \"^5.5.0\",\r\n    \"rescript\": \"^10.0.1\",\r\n    \"style-loader\": \"^3.3.1\",\r\n    \"webpack\": \"^5.75.0\",\r\n    \"webpack-cli\": \"^5.0.1\",\r\n    \"webpack-dev-server\": \"^4.11.1\"\r\n  },\r\n  \"dependencies\": {\r\n    \"@rescript/react\": \"^0.11.0\",\r\n    \"bootstrap\": \"^5.1.0\",\r\n    \"react-bootstrap\": \"^2.7.2\"\r\n  }\r\n}\r\n```\r\nand this is my bsconfig.json\r\n\r\n\r\n```\r\n{\r\n  \"name\": \"team-member-allocation\",\r\n  \"version\": \"0.1.0\",\r\n  \"sources\": {\r\n    \"dir\" : \"src\",\r\n    \"subdirs\" : true\r\n  },\r\n  \"package-specs\": {\r\n    \"module\": \"es6\",\r\n    \"in-source\": true\r\n  },\r\n  \"suffix\": \".bs.js\",\r\n  \"jsx\": { \"version\": 4, \"mode\": \"classic\" },\r\n  \"bs-dependencies\": [\r\n    \"@rescript/react\",\r\n    \"@rescriptbr/react-bootstrap\"\r\n  ],\r\n  \"reason\": {\"react-jsx\": 3}  \r\n}\r\n```\r\n\r\nWhen I try to compile my code I get an error in the source code of `@rescriptbr/react-bootstrap`\r\n\r\n\r\n```\r\n\u003e team-member-allocation@0.1.0 build\r\n\u003e rescript build\r\n\r\nDependency on @rescript/react\r\nDependency on @rescriptbr/react-bootstrap\r\nrescript: [1/10] src/Nav.ast\r\nFAILED: src/Nav.ast\r\n\r\n  We've found a bug for you!\r\n  /Users/foo/code/Rescript/team-member-allocation/node_modules/@rescriptbr/react-bootstrap/src/Nav.res:17:3-20:18\r\n\r\n  15 │   ~onKeyDown: unit =\u003e unit=?,\r\n  16 │   ~variant: [#tabs | #pills],\r\n  17 │   ~className: string=?,\r\n  18 │   ~children: React.element,\r\n  19 │   ~bsPrefix: string=?,\r\n  20 │ ) =\u003e React.element = \"Nav\"\r\n  21 │\r\n  22 │ module Item = {\r\n\r\n  JSX: found the duplicated prop `className`\r\n\r\nrescript: [2/10] src/Button.ast\r\nFAILED: src/Button.ast\r\n\r\n  We've found a bug for you!\r\n  /Users/foo/code/Rescript/team-member-allocation/node_modules/@rescriptbr/react-bootstrap/src/Button.res:15:3-18:18\r\n\r\n  13 │   ~_type: buttonType=?,\r\n  14 │   ~variant: variant=?,\r\n  15 │   ~className: string=?,\r\n  16 │   ~children: React.element,\r\n  17 │   ~bsPrefix: string=?,\r\n  18 │ ) =\u003e React.element = \"Button\"\r\n  19 │\r\n\r\n  JSX: found the duplicated prop `className`\r\n\r\nrescript: [3/10] src/Accordion.ast\r\nFAILED: src/Accordion.ast\r\n\r\n  We've found a bug for you!\r\n  /Users/foo/code/Rescript/team-member-allocation/node_modules/@rescriptbr/react-bootstrap/src/Accordion.res:66:5-68:20\r\n\r\n  64 │     ~children: React.element,\r\n  65 │     ~className: string=?,\r\n  66 │     ~children: React.element,\r\n  67 │     ~bsPrefix: string,\r\n  68 │   ) =\u003e React.element = \"Collapse\"\r\n  69 │ }\r\n  70 │\r\n\r\n  JSX: found the duplicated prop `children`\r\n\r\nFAILED: cannot make progress due to previous errors.\r\nFailure: /Users/foo/code/Rescript/team-member-allocation/node_modules/rescript/darwin/ninja.exe\r\nLocation: /Users/foo/code/Rescript/team-member-allocation/node_modules/@rescriptbr/react-bootstrap/lib/bs\r\n```\r\n\r\nThis is my Index.res file which imports rescript react bootstrap\r\n\r\n\r\n```\r\nJs.Console.log(\"came inside the main application\")\r\n%%raw(\"import ('bootstrap/dist/css/bootstrap.min.css')\")\r\nswitch ReactDOM.querySelector(\"#main\") {\r\n| Some(rootElement) =\u003e\r\n  ReactDOM.Client.Root.render(ReactDOM.Client.createRoot(rootElement), \u003cDemo /\u003e)\r\n| None =\u003e \r\n  Js.Console.log(\"could not find main div\")\r\n  ()  \r\n}\r\n```\r\n\r\nand finally this is my code which is using react bootstrap\r\n\r\n\r\n```\r\nmodule Button = ReactBootstrap.Button \r\n@react.component\r\nlet make = () =\u003e {\r\n  \u003cdiv\u003e\r\n    {\"Hello World\" -\u003e React.string}\r\n    \u003cButton variant=\"primary\"\u003e{\"Primary\"-\u003eReact.string}\u003c/Button\u003e\r\n    \u003cButton variant=\"secondary\"\u003e{\"Secondary\"-\u003eReact.String}\u003c/Button\u003e\r\n    \u003cButton variant=\"success\"\u003e{\"Success\"-\u003eReact.String}\u003c/Button\u003e\r\n    \u003cButton variant=\"warning\"\u003e{\"Warning\"-\u003eReact.String}\u003c/Button\u003e\r\n    \u003cButton variant=\"danger\"\u003e{\"Danger\"-\u003eReact.String}\u003c/Button\u003e\r\n    \u003cButton variant=\"light\"\u003e{\"Light\"-\u003eReact.String}\u003c/Button\u003e\r\n  \u003c/div\u003e\r\n}\r\n```","author":{"url":"https://github.com/abhsrivastava","@type":"Person","name":"abhsrivastava"},"datePublished":"2023-02-25T16:18:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/rescript-react-bootstrap/issues/2"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0b654269-6130-bb64-376e-c1602545fedc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id965A:DE334:C291AA:FB2385:6975914E
html-safe-nonce2126778f831a8044ec437a474da99816f58d2ec52e0f0b75970faabed10ff92e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjVBOkRFMzM0OkMyOTFBQTpGQjIzODU6Njk3NTkxNEUiLCJ2aXNpdG9yX2lkIjoiNTYxODUxMzQ5ODAwOTQ4MDQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac52aa5492fb0693bba6fe3912fc24dba7f6e778b060a99c4f1f6f9f03cb4dde15
hovercard-subject-tagissue:1599755779
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rescriptbr/rescript-react-bootstrap/2/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4dad6e1d1f38ee2ae6d07f5643d0ba2d9377ff65e0364ec91551b41982d037b1/rescriptbr/rescript-react-bootstrap/issues/2
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4dad6e1d1f38ee2ae6d07f5643d0ba2d9377ff65e0364ec91551b41982d037b1/rescriptbr/rescript-react-bootstrap/issues/2
og:image:altHere is my package.json { "name": "team-member-allocation", "version": "0.1.0", "scripts": { "clean": "rescript clean", "build": "rescript build", "watch": "rescript build -w" }, "keywords": [ "ReS...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabhsrivastava
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
go-importgithub.com/rescriptbr/rescript-react-bootstrap git https://github.com/rescriptbr/rescript-react-bootstrap.git
octolytics-dimension-user_id33269458
octolytics-dimension-user_loginrescriptbr
octolytics-dimension-repository_id403814601
octolytics-dimension-repository_nworescriptbr/rescript-react-bootstrap
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id403814601
octolytics-dimension-repository_network_root_nworescriptbr/rescript-react-bootstrap
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/issues/2#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Frescriptbr%2Frescript-react-bootstrap%2Fissues%2F2
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Frescriptbr%2Frescript-react-bootstrap%2Fissues%2F2
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=rescriptbr%2Frescript-react-bootstrap
Reloadhttps://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/issues/2
Reloadhttps://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/issues/2
Reloadhttps://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/issues/2
rescriptbr https://patch-diff.githubusercontent.com/rescriptbr
rescript-react-bootstraphttps://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Frescriptbr%2Frescript-react-bootstrap
Fork 4 https://patch-diff.githubusercontent.com/login?return_to=%2Frescriptbr%2Frescript-react-bootstrap
Star 8 https://patch-diff.githubusercontent.com/login?return_to=%2Frescriptbr%2Frescript-react-bootstrap
Code https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap
Issues 1 https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/issues
Pull requests 0 https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/pulls
Actions https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/actions
Projects 0 https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/projects
Security 0 https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/security
Insights https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/pulse
Code https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap
Issues https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/issues
Pull requests https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/pulls
Actions https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/actions
Projects https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/projects
Security https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/security
Insights https://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/rescriptbr/rescript-react-bootstrap/issues/2
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/rescriptbr/rescript-react-bootstrap/issues/2
JSX: found the duplicated prop classNamehttps://patch-diff.githubusercontent.com/rescriptbr/rescript-react-bootstrap/issues/2#top
https://github.com/abhsrivastava
https://github.com/abhsrivastava
abhsrivastavahttps://github.com/abhsrivastava
on Feb 25, 2023https://github.com/rescriptbr/rescript-react-bootstrap/issues/2#issue-1599755779
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.