32 Matching Annotations
  1. Apr 2022
    1. The setup() hook serves as the entry point for Composition API usage in components
  2. Jan 2022
  3. Dec 2021
  4. Nov 2021
  5. Mar 2021
    1. What are the current trends in JavaScript development?

      Performance, speed, or popularity? What are the most vital characteristics that developers seek in the tech stack? There could hardly be a single reason why certain frameworks rise, while others become the thing of the past.

      What you can do is to observe the driving directions within the front-end landscape. So let’s dive into the top JavaScript trends to watch in 2021.

    1. someGetter (state, getters, rootState, rootGetters) {

      Note including all the parameters here is important. If you do not include all four and you want to use rootGetters for example:

      someGetter (state, rootGetters) {

      rootGetters will be getters because getters is the second argument passed to this function and so you will not actually be on the root scope but instead the local scope.

      To access rootGetters in another name spaced module:

      someGetter (state, getters, rootState, rootGetters) {
        let value = rootGetters["module-name/getterName"](param1);
  6. Nov 2020
    1. Because of those similarities, it's possible to automate some of the changes.
    2. Those frameworks are used in a similar fashion, but conceptually use quite different approaches (Vue is a more traditional one, a library, and Svelte is a "dissapearing framework").

      interesting wording: Svelte is a "disappearing framework".

  7. Oct 2020
    1. bringing Vue-style reactive stores with data and computed properties into Svelte
  8. Sep 2020
    1. In Vue, your markup must be wrapped in a <template> element, which I'd argue is redundant.
  9. Jul 2020
  10. Oct 2019
    1. I'm super stoked about Vue.js though...I'm kind of over Angular at this point since it left a bad taste in my mouth last year (it's a much larger framework and the 'official' build system isn't even being used anymore by programmers)
    2. I'm doing a newer project in Vue.js because it looks much lighter than Angular and just awesome all around
    3. Been there, done that. Vue.js takes the best ideas form Angular (and some from React), without putting you in ZoneAwareError hell.