Skip to content

Commit b0c1d79

Browse files
committed
2 parents 2c73633 + 990dd07 commit b0c1d79

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ List of 300 VueJS Interview Questions
8484
|75 | [What is the difference between VueJS and ReactJS?](#what-is-the-difference-between-vuejs-and-reactjs)|
8585
|76 | [What are the advantages of VueJS over ReactJS?](#what-are-the-advantages-of-vuejs-over-reactjs)|
8686
|77 | [What are the advantages of ReactJS over VueJS?](#what-are-the-advantages-of-reactjs-over-vuejs)|
87-
|78 | [What are the differences between VueJS and AngularJS?](#What-are-the-differences-between-vuejs-and-angularjs)|
87+
|78 | [What are the differences between VueJS and Angular?](#What-are-the-differences-between-vuejs-and-angular)|
8888
|79 | [What are dynamic components?](#what-are-dynamic-components)|
8989
|80 | [What is the purpose of keep alive tag?](#what-is-the-purpose-of-keep-alive-tag)|
9090
|81 | [What are async components?](#what-are-async-components)|
@@ -704,7 +704,7 @@ List of 300 VueJS Interview Questions
704704
705705
// `vm.name` is now reactive
706706
707-
vm.email = john@email.com // `vm.email` is NOT reactive
707+
vm.user.email = john@email.com // `vm.user.email` is NOT reactive
708708
```
709709
You can overcome this scenario using the Vue.set(object, key, value) method or Object.assign(),
710710
```javascript
@@ -954,7 +954,7 @@ List of 300 VueJS Interview Questions
954954
29. ### How do you communicate from child to parent using events?
955955
If you want child wants to communicate back up to the parent, then emit an event from child using `$emit` object to parent,
956956
```javascript
957-
Vue.component('todo-tem', {
957+
Vue.component('todo-item', {
958958
props: ['todo'],
959959
template: `
960960
<div class="todo-item">
@@ -2099,12 +2099,12 @@ List of 300 VueJS Interview Questions
20992099
21002100
**[⬆ Back to Top](#table-of-contents)**
21012101
2102-
78. ### What are the differences between VueJS and AngularJS?
2102+
78. ### What are the differences between VueJS and Angular?
21032103
The the syntax of Vue and Angular is common at some points because Angular is the basis for VueJS development in the beginning.
21042104
21052105
But there are many differences between VueJS and Angular as listed,
21062106
2107-
| Feature | VueJS | AngularJS |
2107+
| Feature | VueJS | Angular |
21082108
|---- | --------- | ---- |
21092109
| Complexity | Easy to learn, simple API and design | The framework is bit huge and need some learning curve on typescript etc |
21102110
| Binding of Data | One-way binding | Two-way binding |
@@ -2267,7 +2267,7 @@ List of 300 VueJS Interview Questions
22672267
```javascript
22682268
//ComponentB
22692269
<div>
2270-
<component-b >
2270+
<component-a >
22712271
</div>
22722272
```
22732273
This can be solved by either registering(or wait until) the child component in `beforeCreate` hook or using webpack's asynchronous import while registering the component,

0 commit comments

Comments
 (0)