Giter Club home page Giter Club logo

Comments (2)

jd-solanki avatar jd-solanki commented on May 25, 2024

Hi,

Thanks for raising this issue. When I started building anu, linting wasn't configured properly. At the moment, it looks like eveything about linting is working fine.

Definitely, we can improve it a bit.

Regarding import order error, I think that file was saved before I configured eslint so it is fine to change the import order as you mentioned. I am getting the same in my setup πŸ˜‰

For 'xxx' was used before it was defined this correct according to linting but you will only see this error in ATable I guess because only there I had to use the const before it was defined. However, Due to JS hoisting even if you write the variable declaration after its usage it will not result in error.
Moreover, You might encounter 'xxx' was used before it was defined in your code if you have similar logic as we have in ATable. While I started using composition API I did encounter this "used before defined error" because at some point your two composables might depend on each other.

Hence, Just try your best to resolve the 'xxx' was used before it was defined however if there is the circular dependency you have to suppress the error.

Please let me know if you have any further queries. I am happy to improve anu.

P.S. If you have anything regarding improvements to the engineering of this project, I am happy to discuss it.

from anu.

zguolee avatar zguolee commented on May 25, 2024

Thank you, I have no other problems anymore.😁

from anu.

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.