Comments (3)
number.value = 0;
- number.value += 1;
+ nextTick(() => {
+ number.value += 1;
+ });
from core.
sorry, i intended to zeroing the value to compare the effect. number
is ignoring the 0 and keep adding. numberRef
is set to 0 first before adding.
from core.
ah, thanks. i used emit before so i am not aware of this.
from core.
Related Issues (20)
- jsx内联样式设置失败 HOT 2
- feat: createApp support lifetimes hooks HOT 6
- Runtime warnings on type of Prop when using keyof and extends since 3.24
- @after-leave error in <Transition> HOT 1
- TypeError: Cannot convert object to primitive value HOT 3
- Hydration mismatch when using with JSX HOT 2
- Type-only `defineProps` compiles global types incorrectly
- Setting template ref function handler with v-for and inline event handler (while passing element from v-for) causes ref to recall its handler every rerender HOT 3
- Get a bug of 'Unhandled error during execution of scheduler flush. This is likely a Vue internals bug.' HOT 1
- v-bind() in CSS + Teleport doesn't work (another edge case)
- Spurious component updates when v-model is defined in parent, but not used in child. HOT 4
- hook onMounted has been called when app unmount HOT 1
- Unhandled error during execution of render function HOT 6
- ref typing converts null type to unknown when strictNullChecks is false HOT 3
- v-bind 是不是有bug HOT 1
- Error with createSSRApp when Using JSX/TSX HOT 2
- Error codes in production not passed to error handlers as described HOT 4
- New slot syntax doesn't work the same way as old syntax HOT 1
- Many issues with Transition since 3.4.26 HOT 1
- 生产版本用户无法打印自己的值 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.