-
Notifications
You must be signed in to change notification settings - Fork 229
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
why react scan not work in my project #8
Comments
can you show me how you installed it? |
Hello. First of all, thank you for sharing this amazing library. I’m experiencing the same issue. I created a project with Vite + React, then added the script in index.html, but it didn’t work. Instead, I installed it via npm (npm i react-scan), and it worked well. Is there any solution for the script issue? Thank you. |
super weird. the cdn version might be cached to an older version, try: <script src="https://unpkg.com/[email protected]/dist/auto.global.js"></script> |
can you show how you make it work ? |
|
green isn't used at this time what do you mean by "i haven't written proper component?" problematic render = https://github.com/aidenybai/react-scan?tab=readme-ov-file#why-react-scan |
Sorry for the confusion. After checking again, I realized my approach doesn’t work perfectly and only partially functions. However, since it doesn’t cause any errors, I wanted to share this approach with you. I added a script to I hope my response is helpful to you. |
It’s still not working properly. May I share my results with you? Here are the results of my project:
![]() Even though I added Could there be an issue here?
Could this be due to a configuration issue or a missing setup on my project? |
did you install it correctly via npm? it looks like intellisense is reporting that it's not even installed @jnoncode |
aiden, i am amazed by your idea of react-scan, i want to ask how many years have you been coding? |
It doesn't work on mine either via npm, only works via script tag but with unexpected behaviour. The unexpected behaviour is/are: Screencast.from.2024-11-19.22-51-49.webm |
I have the same issue as @jam6123, I can barely see the outline and the label doesn't always show up. Screen.Recording.2024-11-21.at.8.54.01.AM.mov |
Small workaround:
|
@kjinengineer please let me know how it's work. |
after adding the react scan script on the top of other scripts, when i input something in my input tag, i see nothing happened
The text was updated successfully, but these errors were encountered: