-
Notifications
You must be signed in to change notification settings - Fork 195
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
Codemirror support for react v18? #293
Comments
Even I am facing some issues. |
Did you guys found a way? |
Naaah not explicitly. If you want to use Codemirror via React you can not use this library. You´ll have to integrate the "normal" codemirror yourself. I´m using the newest version (Codemirror 6) right now. Good luck |
Yes , I found a way , https://uiwjs.github.io/react-codemirror/ I used this, and it worked for me , you can check here www.codevim.tech |
Thanks for your reply if doens't work i am gonna build my own Thanks so much! |
I tried that one as well. Notice that it´s not as customizable as the standard codemirror, which isn´t too much setup in the end! |
No its not , Please go through my code from here https://github.com/kaushikc44/codevim |
npm ERR! code ERESOLVE I'm facing the same issue. Is there any solution that worked? |
Are you using uiw / code mirror module? I have already mentioned that you prefer that., since code mirror isn't yet supported for react 18.2.0 either use a older version of react or use uiw/code mirror check the above repository codevim you can find the code for it. |
@MielkeDaniel https://github.com/uiwjs/react-codemirror/tree/v3 Using v3 is the old cm5 version. |
Please I've been on this same issue for 2 days now is there any solution yet? I'm trying to use react-codemirror2 with peer dependency codemirror on React 18.2.0 and still haven't found a way out. I appreciate your assistance in advance! |
It's worked on react v 18 for me |
Thanks @7hourspg. So I'd install the dependencies with |
npm WARN using --force Recommended protections disabled. added 2 packages, and audited 1480 packages in 8s 231 packages are looking for funding 7 vulnerabilities (1 moderate, 6 high) To address all issues (including breaking changes), run: Run @Favourz1 , I used your command, this came up but codemirror is now installed, however are these warnings concerning or should i ignore them? (PS: I am new to React) |
Thank you @7hourspg , it worked for me in React v18 |
hey @7hourspg , thanks buddy for helping |
working |
Based on #293, it appears this package works fine with React 18
Has someone discovered a way to run codemirror in react v18?
I rather do not want to downgrade my react version again...
The text was updated successfully, but these errors were encountered: