Giter Club home page Giter Club logo

Comments (6)

zallek avatar zallek commented on May 26, 2024

Same for me.
BTW why main file (in package.json) is now the dist file instead of the src file ?

from react-ace.

boboTjones avatar boboTjones commented on May 26, 2024

Same here. I tried changing the versions of brace, but this just resulted in a different error. Spent half a day trying to figure out what's going wrong, but I ran out of time so I've changed mine to a plain textarea for the time being. Curious to see resolution/workaround.

from react-ace.

zallek avatar zallek commented on May 26, 2024

I've create a new repo offering a React component for Ace which doesn't depends on brace anymore but ace itself. https://github.com/zallek/react-ace-async
This is really at early stage, interfaces may change but as you can see in examples I've been able to develop and use my own mode for syntax highlighting

from react-ace.

securingsincity avatar securingsincity commented on May 26, 2024

@zallek this looks promising. brace is a huge dependency. I personally would love to see a completely react built code highlighter.

from react-ace.

boboTjones avatar boboTjones commented on May 26, 2024

@zallek Yep. If you change the main file back to index.js, there is no more error. Thanks!

from react-ace.

securingsincity avatar securingsincity commented on May 26, 2024

Yeah let's switch it back to index.js. this is fixed in 2.0.3

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.