website icon indicating copy to clipboard operation
website copied to clipboard

[BUG] console log warning

Open tim48-robot opened this issue 1 month ago • 6 comments

Describe the bug.

There is a console log warning when i first log into the localhost after running npm run dev

Expected behavior

A good deployed website should have no react warning in the console log. This can be easily solved by folowing react naming convention

Screenshots

Image Image

How to Reproduce

  1. I first cloned the repository after forking it
  2. npm install
  3. npm run dev
  4. check the console.log

🖥️ Device Information [optional]

  • Operating System (OS):
  • Browser:
  • Browser Version:

👀 Have you checked for similar open issues?

  • [x] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

tim48-robot avatar Dec 02 '25 10:12 tim48-robot

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

github-actions[bot] avatar Dec 02 '25 10:12 github-actions[bot]

The issue is coming from SVG attributes that use hyphen-case (e.g., stroke-linecap, etc..`). React expects these to be written in camelCase, so they should be strokeLinecap, and like that...

and you can see the console shows warnings on your side and not mine!

Image

Shubhashish-Chakraborty avatar Dec 02 '25 10:12 Shubhashish-Chakraborty

that's true. i already created a pr for this weeks ago, but I want to check again to make sure.

created this issue for the sake of good documentation :) issue -> pr -> merged

tim48-robot avatar Dec 02 '25 11:12 tim48-robot

Hey! I’m interested in contributing and would like to work on this issue. Can you please assign it to me? I’ll follow the project guidelines and submit a proper PR.

Dsp023 avatar Dec 04 '25 06:12 Dsp023

sooo what do you think @princerajpoot20 ? do i need to change anything?

tim48-robot avatar Dec 11 '25 14:12 tim48-robot

@Dsp023 do you guys even follow the conversation or just spam "i'd like to contribute to this issue" everywhere?

theAnuragMishra avatar Dec 14 '25 11:12 theAnuragMishra

@tim48-robot FYI: https://github.com/asyncapi/website/pull/4661#issuecomment-3692370000

princerajpoot20 avatar Dec 26 '25 07:12 princerajpoot20