Giter Club home page Giter Club logo

Comments (11)

pgilad avatar pgilad commented on May 26, 2024 12

After a little more debugging, you can get rid of the warning by importing:
import 'brace/ext/language_tools';

Although this is kinda stupid because there is no need to require it in the first place.

from react-ace.

pgilad avatar pgilad commented on May 26, 2024 1

Is there any plan to fix this issue? I added a PR that can fix this issue

from react-ace.

securingsincity avatar securingsincity commented on May 26, 2024 1

@inoas this was released over a year ago.

from react-ace.

pgilad avatar pgilad commented on May 26, 2024

This seems to be caused by f21a6f8

from react-ace.

beckend avatar beckend commented on May 26, 2024

So the warning is harmless anyways?

from react-ace.

pgilad avatar pgilad commented on May 26, 2024

Yeah you are trying to setOption on an unknown option in terms of ace (because the language_tools file wasn't loaded).

That said - this is a mistake that happened in one of the commits that I mentioned. I wouldn't include the file if I were you, but revert to version 3.1.0 since that file is around ~2000 lines of code. (That's what I did for now)

from react-ace.

wldcordeiro avatar wldcordeiro commented on May 26, 2024

This issue and #101 are both regressions that I found problematic as they cause an infinite loop that crashes my application

from react-ace.

inoas avatar inoas commented on May 26, 2024

We considered moving away from https://github.com/JedWatson/react-codemirror because at least at the moment it is not maintained well (aka the maintainer does not merge or reacts to PRs) but this here is a blocker that stops that.

from react-ace.

securingsincity avatar securingsincity commented on May 26, 2024

@inoas this should be fixed by @pgilad 's pr but are you still seeing issues?

from react-ace.

inoas avatar inoas commented on May 26, 2024

It is not yet in a release tag, right? @securingsincity

Edit: Sorry for the fuss!

from react-ace.

Banjerr avatar Banjerr commented on May 26, 2024

just caught this issue, using the latest version though. adding import 'brace/ext/language_tools'; did clear up a few, i'm left with enableEmmet and useElasticTabstops though

from react-ace.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.