vue-composition-api-example-feature-images

Vue 3 Composition API tutorial with examples

Vue introduces Composition API (Function-based API) as an addition to current Options-based API. The API will be released with Vue 3, but now you can try it with Vue 3 Composition API added to your Vue 2 app. In this tutorial, we’re gonna show you:

  • New Vue Composition API overview and comparison with classic Vue Options-based API
  • Examples to implement a Vue Component with new API: props, data, watchers, lifecycle hooks
  • Example to take advantage of new Vue 3 Composition API (function-based API): split Topics into Functions

Related Post: Vue v-slot tutorial with examples

Read More

dart-list-complete-reference-feature-image

Dart/Flutter List Tutorial with Examples

One of the most popular data structure in OOP is List. In this tutorial, we’ll show you many methods and functions to work with a List in Dart (also in Flutter). At the end, you’re gonna know:

  • Introduction to Dart List
  • How to create, initialize, access, modify, remove items in a List
  • Ways to iterate, search, filter, transform a List in Dart/Flutter
  • How to create List of objects in Dart/Flutter
  • Ways to sort a List (of objects) in Dart/Flutter

Related Posts:
Dart/Flutter – Convert/Parse JSON string, array into Object, List
Dart/Flutter – Convert List to Map & Map to List
Dart/Flutter Map Tutorial with Examples

Read More