Giter Club home page Giter Club logo

Comments (2)

Olical avatar Olical commented on May 21, 2024

Ah, that's a sneaky one that caught me out too. Not the first time I've been angry at the JavaScript module system (or JavaScript in general). It'd definitely be worth documenting it, even though D3 isn't a hard requirement for this project it's something that will catch people out again and again.

Maybe add a section to the readme just after installation that shows ES5 and ES6 import styles with the D3 caveat. Maybe even a script tag for the CDN version too. One quirk about the CDN file (which I don't use, some people requested it, I think you should depend on it and build it into your main script) is the name it's exported with. It's accessed by window['react-faux-dom'] not window.ReactFauxDOM as you'd expect.

Could be worth mentioning that too. I can do it but if you had some time and wanted to write up a little readme section I'd be happy to merge it 😄

from react-faux-dom.

GeorgeStrakhov avatar GeorgeStrakhov commented on May 21, 2024

I am new to all this, but here is an attempt: #65 .
I only covered basic D3+ES6 usage, and not other issues you mentioned.

from react-faux-dom.

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.