You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -233,7 +233,7 @@ List of 300 VueJS Interview Questions
233
233
|209|[How do you handle Pluralization?](#how-do-you-handle-pluralization)|
234
234
|210|[How to implement DateTime localization?](#how-to-implement-date-time-localization)|
235
235
|211|[How do you implement Number localization?](#how-do-you-implement-number-localization)|
236
-
|212|[How do you perform locale changing](#how-do-you-perform-locale-changin)|
236
+
|212|[How do you perform locale changing](#how-do-you-perform-locale-changing)|
237
237
|213|[What is Lazy loading translations?](#what-is-lazy-loading-translations)|
238
238
|214|[What is the main difference between method and computed property?](#what-is-the-main-difference-between-method-and-computed-property)|
239
239
|215|[What is vuetify?](#what-is-vuetify)|
@@ -1992,8 +1992,8 @@ List of 300 VueJS Interview Questions
1992
1992
},
1993
1993
// Similar to `v-bind:class`, accepting either a string, object, or array of strings and objects.
1994
1994
class: {
1995
-
classsName1: true,
1996
-
classsName2: false
1995
+
className1: true,
1996
+
className2: false
1997
1997
}
1998
1998
// ....
1999
1999
},
@@ -2044,7 +2044,7 @@ List of 300 VueJS Interview Questions
2044
2044
72. ### List down the template equivalents in render functions?
2045
2045
VueJS provides proprietary alternatives and plain javascript usage for the template features.
2046
2046
2047
-
Let's list down them in a table forcomparision,
2047
+
Let's list down them in a table forcomparison,
2048
2048
2049
2049
| Templates | Render function |
2050
2050
|---- | --------- |
@@ -2137,7 +2137,7 @@ List of 300 VueJS Interview Questions
2137
2137
**[⬆ Back to Top](#table-of-contents)**
2138
2138
2139
2139
79. ### What are dynamic components?
2140
-
The dynamic component will allow you to dynamically switch beetween multiple components without updating the route of the application and even retaining the state of the component when switching back to the initial component. It works by using `<component>` tag with `v-bind:is` attribute which accept dynamic component.
2140
+
The dynamic component will allow you to dynamically switch between multiple components without updating the route of the application and even retaining the state of the component when switching back to the initial component. It works by using `<component>` tag with `v-bind:is` attribute which accept dynamic component.
2141
2141
2142
2142
Let's create a dynamic component vue instance to switch between different pages of a website,
2143
2143
```javascript
@@ -3210,7 +3210,7 @@ List of 300 VueJS Interview Questions
3210
3210
137. ### What is the procedure to run tests in node?
3211
3211
By proper mocking, you can bundle tests with webpack and run them on node without having depenceny on Browser API. It involves 2 steps,
3212
3212
1. **Create webpack config:** Create webpack config with proper .babelrc
3213
-
```javscript
3213
+
```javascript
3214
3214
// webpack.config.js
3215
3215
module.exports = {
3216
3216
entry: './test.js',
@@ -3615,7 +3615,7 @@ List of 300 VueJS Interview Questions
3615
3615
}
3616
3616
})
3617
3617
```
3618
-
You can't directly invoke mutation instead you need to call `store.commit` with its type. The above mutation would be triggered as folows
3618
+
You can't directly invoke mutation instead you need to call `store.commit` with its type. The above mutation would be triggered as follows
3619
3619
```javascript
3620
3620
store.commit('increment')
3621
3621
```
@@ -3854,7 +3854,7 @@ List of 300 VueJS Interview Questions
3854
3854
}
3855
3855
}
3856
3856
```
3857
-
As per the above example, When you try to dispatch actionTwo it dispatchs actionOne first and then commits respective mutation. You can still simplify with async/await as below,
3857
+
As per the above example, When you try to dispatch actionTwo it dispatches actionOne first and then commits respective mutation. You can still simplify with async/await as below,
0 commit comments