Well hello there! Here at Vue School we aim to mould and develop the next generation of Vue.js experts. Everyone, from Advanced to “just starting out” beginners, can find a place here at Vue School learning and developing their Vue skills regardless of level. That has been our goal from the start, to allow developers of all levels to hone and perfect their abilities to build websites and applications in Vue!
Structuring Vue Components
Written by Alex Jover MoralesAs soon as you start learning Vue you find out that the atomic unit of its architecture are components. In fact, that's nothing Vue-specific: any component-based technology, such as React or Angular, work the same way.
Reusing Logic in Vue Components
Written by Alex Jover MoralesOne day you start creating a Vue application. You start creating components in order to structure the different pieces of your application. That's cool and you should be feeling the great dev experience of Vue and the web component architecture. As you go on with your project you start to somehow structure your application components, probably by pages and components.
Async Vue.js Components
Written by Alex Jover MoralesAs your application grows, you start to look for performance patterns to make it faster. On the way, you'll find code splitting and lazy loading to be two of them that make your initial bundle smaller by deferring the loading of code chunks until needed.
Build an Infinite Scroll component using Intersection Observer API
Written by Alex Jover MoralesWhen building applications you often come across the case where you need to design a list or search interface for the user. They usually manage lots of data, thus you need a way for the user to show it "in chunks" so that we keep the application performance and the data organized.
Globally Load SASS into your Vue.js Applications
Written by Alex Jover MoralesIn the CSS world, we can see plenty of great preprocessors that improve the language, being SASS/SCSS, LESS and PostCSS the most common among them. SASS seems to be still the most popular and used solution by the date of writing, and that's no surprise since it's fully featured and extends the CSS language with an easy to understand syntax.
5. Testing a Vue Component
Part 5 of 5 in our Testing like a Pro in JavaScript series.Written by Alex Jover Morales
This testing series are focused on JavaScript as a language and testing techniques, but since we’re VueSchool, we couldn’t end it up without a simple Vue example, right?
Snapshot Testing
Part 4 of 5 in our Testing like a Pro in JavaScript series.Written by Alex Jover Morales
One of the features that amazed me about Jest is snapshot testing. It’s not necessarily a Jest-only feature, but more of a technique and concept. Anyways, the first time I’ve seen it was in Jest.
Test Doubles
Part 3 of 5 in our Testing like a Pro in JavaScript series.Written by Alex Jover Morales
Test doubles, spies, and mocking, all sound intriguing, but what do they actually mean? Do I really need to spy on my code, or mock it? Let's find out!
Testing in JavaScript
Part 2 of 5 in our Testing like a Pro in JavaScript series.Written by Alex Jover Morales
In the second part of this 5 part series about testing in JavaScript, we're going to look at a few tools we can use and then write our very first unit tests.