Nwose Lotanna

  Web Developer and Writer


43 Stories by Nwose Lotanna

TypeScript enums vs. types: Enhancing code readability

In this article, we will be exploring how TypeScript enums and types work, why, and how to use them in your next project.
1 9 min read

Using event bus in Vue.js to pass data between components

The Vue.js event bus enables independent communication between components without passing through a central or parent component.
7 6 min read

Accessing Vue.js properties globally with globalProperties

This article will introduce you to using app.config.globalProperties in Vue.js to add custom properties and methods to the Vue instance.
4 6 min read

A guide to RxJS Observables

This article provides a guide to RxJS Observables, Observers, and operators, which allow you to write asynchronous code.
3 7 min read

Introduction to Vue lifecycle hooks

We explore the available hooks for use in your Vue workflow and introduce the whole lifecycle of a Vue application from creation to destruction.
0 5 min read

Making your components dynamic in Vue 3

Use dynamic components in Vue 3 to toggle between views and retain the state of data when switching back to the initial component.
5 5 min read

How to use props to pass data to child components in Vue 3

Props are an important feature in Vue for managing parent and child components, but handling them can be somewhat tricky. 
7 5 min read

A guide to CSS pseudo-elements

Learn more about 12 CSS pseudo-elements that give you more styling options, with CodePen demonstrations included.
0 8 min read

Understanding refs in Vue

Refs are Vue.js instance properties used to register a reference to HTML elements or child elements in the template of your application.
1 6 min read

How to make form elements dynamic in Vue.js

No matter what type of project you're working on, you should always consider the customer first. By building dynamic forms in Vue.js, you can...
4 7 min read

Vue form input validation using watchers

In Vue, developers can create forms just as they would with HTML5, meaning little to no additional skills are required.
4 6 min read

Using Vue.js event emitters to modify component data

This demo shows how to pass data and its state from a child component to its parent component in Vue.js using event emitters.
0 3 min read