Senior Frontend Engineer @ GitLab
Concepts
Examples
Questions
Clarification
Practice
Experiment
Get Help
Easy to get something up and running pretty quickly
Most of what was happening seemed more like magic
Developed and maintained by Google
Opinionated on how you should build your app
Great performance due to the use of the virtual DOM
There is a high learning curve to simply get started
Unfriendly to developers who are not well versed in JavaScript ES6+
Large community base and has a model for cross-platform development
It's a bit like the Wild West as far as how things should be done
You got a lot better at vanilla JavaScript and ES6 very quickly
Takes the best of both worlds and brings them together
Great performance that is on par if not better than React.js
Flexible and accommodating to how you prefer to build apps
An open-source framework with no corporate influence
Does not currently have a formal model for cross-platform development
It does not alienate non-JavaScript developers
Convert a flat HTML file into a basic Vue app
They are Vue specific methods that allow you to accomplish common goals without worrying how it is implemented.
v-if
v-else
v-else-if
v-show
v-for
v-bind
v-on
v-model
It ensures that event listeners and child components inside the conditional block are properly destroyed and re-created during toggles.
The element is always rendered regardless of initial condition, with CSS-based toggling.
Allows us to "render a list of items based on an array [or object]."
Allow us to manipulate HTML attributes with dynamic data
Allow us to manipulate HTML attributes with dynamic data
Allow us to attach JavaScript functions to common events
Allow us to attach JavaScript functions to common events
Common DOM events that you most likely be using a fair amount
Modifiers are a syntactic sugar to help with common functionality
Allows us to use two-way data binding
Build a counter app
Migrate your Counter app into the CLI
Refactor out your counter app to a SFC!
Convert flat web page file to a SFC
Build a to do list app from scratch