Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bootstrap, direct DOM manipulation & Vue's virtual DOM#6931

Unanswered
TechAkayy asked this question inQ&A
Discussion options

I posted the below question in thebootstrap-vue-next/bootstrap-vue-next#310 discussions. Few others there are also in the same boat, haven't got any clarity.

I'm cross posting the same here, as this repo has been running for many years with huge exposure. Hoping someone could shed some light on this topic, and bring some closure to these concerns.


Hi there,

Thank you for spearheading Bootstrap / Vue combo.

I would like to ask a very fundamental question, surprisingly I haven't really seen this discussed anywhere online expect for this stackoverflowcomment

image

I know mixing Vue (virtual dom) + Jquery/Vanilla JS (that does direct dom manipulator) is ananti-pattern,anti-pattern.

My question is does the bootstrap vue wrapper libraries like yours and the other bootstrap-vue-3 one, do they all mitigate this anti-pattern by preventing direct dom manipulation by bootstrap.min.js?

If so, would this be one of the reasons (on top of all the benefits & features) to use bootstrap-vue against using bootstrap directly in Vue projects?

Sorry, if it turns out to be a silly question, it's quite possible I might have misunderstood somethings! Thanks in advance.

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@TechAkayy

[8]ページ先頭

©2009-2025 Movatter.jp