Git Product home page Git Product logo

Comments (10)

ealtenho avatar ealtenho commented on May 4, 2024

@btford, would this functionality be implemented in angular-hint, or should it be a separate module?

from angular-hint.

caguillen214 avatar caguillen214 commented on May 4, 2024

@ealtenho @btford

Although this isn't quite the same functionality of hint-dom, they both relate to controller best practices. It seems like to avoid having an unnecessary amount of angular-hint-* modules, we should consider grouping them together a little differently.

I think this should be a feature in erin's -dom and that we should maybe change the name to hint-controller since it deals more with bad practices of the controller and less about the dom itself. Personally, grouping like this makes more sense to me. Thoughts?

from angular-hint.

ealtenho avatar ealtenho commented on May 4, 2024

@caguillen214 @btford
Actually, this was why I had asked about it being a separate module, since it does sound related to my implementation. Still, I think it is important for angular-hint-dom to convey that the best practice there is about not manipulating the dom. I'm not sure what the compromise should be there. @btford thoughts?

from angular-hint.

btford avatar btford commented on May 4, 2024

I think it would be better to have this as a separate module for a variety of reasons:

  • angular-hint-dom has a performance impact
  • conceptually this is a different warning

There are a few different "best practices" for controllers, so I'm thinking this could be the start of an angular-hint-controllers repo

from angular-hint.

ealtenho avatar ealtenho commented on May 4, 2024

I think another module sounds right to me. I will look into implementing this feature.

from angular-hint.

ealtenho avatar ealtenho commented on May 4, 2024

My local repository for beginning development: https://github.com/ealtenho/hint-controller

from angular-hint.

ealtenho avatar ealtenho commented on May 4, 2024

Initial module: ealtenho/hint-controller@6f141d9

from angular-hint.

ealtenho avatar ealtenho commented on May 4, 2024

@btford, I think I have a working prototype of this feature, but I'm concerned my tests are insufficient: ealtenho/hint-controller#2. I'm also unsure of how we plan to integrate this with other angular-hint repositories?

from angular-hint.

ealtenho avatar ealtenho commented on May 4, 2024

#12 @btford

from angular-hint.

caguillen214 avatar caguillen214 commented on May 4, 2024

I believe this has been addressed and should be closed

from angular-hint.

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.