Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork79.2k
Simplify ScrollSpy config#33250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@rohit2sharma95 ,@XhmikosR |
Your idea is to move the Lines 563 to 567 in548be2e
There is also a function bootstrap/js/src/util/index.js Lines 203 to 204 in548be2e
|
Yeah, I'm not sure about this either. We shouldn't overdo it with unnecessary abstractions. So what's the plan here exactly? |
I saw that most of them use the same functionality. So I think it could be moved as a separate function outside the component. At least for the 6 of them for the beginning. Small size improvements as keeping one pattern. (now all have different pattern of usage) |
Please finish with your suggestion so that we can see if it's worth doing it :) |
I could start standardizing a bit the configs and the interfaces, and maybe then we can discus the 'one same function'. Does this sound better? |
5df840b
tod4a64b3
Compared4a64b3
toe149302
Comparee149302
toee9baa0
Compareee9baa0
to0cc0109
Compare0cc0109
tobc6dfdf
Compare
Uh oh!
There was an error while loading.Please reload this page.
I tried to extract a
basicJQueryInterface
to be used by other components too