GithubHelp home page GithubHelp logo

Comments (6)

ArnaudRinquin avatar ArnaudRinquin commented on April 26, 2024 2

Yeah well, I think the foundation of this package is a bit broken: it relies on the error messages which are far from being reliable.

We eventually decided not to use it.

from idx.

kud avatar kud commented on April 26, 2024

Ha! I'm not the only one!

I'm doing something like

const simpleQueryString = idx(rawQuery, _ => _.query.simple_query_string)

and I've got

TypeError: "_.query is undefined, can't access property "simple_query_string" of it"

only on firefox nightly (fresh profile or not), no trouble on firefox classic and chrome and canary.

from idx.

hackel avatar hackel commented on April 26, 2024

Also happening on Firefox 63.0b2 (Developer edition). This basically renders this package entirely unusable.

from idx.

kud avatar kud commented on April 26, 2024

Same here. I liked the concept of the lib but how it's done, it's not possible to use it.

from idx.

yungsters avatar yungsters commented on April 26, 2024

As mentioned in the README.md under “Babel Transform”:

The idx runtime function exists for the purpose of illustrating the expected behavior and is not meant to be executed. The idx function is used in conjunction with a Babel plugin that replaces it with better performing code.

The implementation of idx in this package is not meant to be executed anywhere.

from idx.

kud avatar kud commented on April 26, 2024

In this case, be more precise on the README maybe. Because having this information only in the babel section means if you don't have babel or don't want to use it via babel, you won't read this part.

from idx.

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.