Bethink PL
Published in

Bethink PL

Do we need Higher Order Components in Vue.js?

In my previous article I described a way how to create Higher Order Components in Vue.js. I received a lot of great feedback which inspired me to write this article.

Before starting looking for an answer for the question: Do we need Higher Order Components in Vue.js? I would like to ask another question: What problems Higher Order Components solve? I believe the answer for that question is crucial.

For me there are two main problems HOCs solve:

  • code repetition: they allow to share common functionality…




In bethink we build products that help people manage their intellectual capital. Here, we write about the technological, design and product aspects of our work.

Recommended from Medium

Breaking down wordle in vanilla JS 🟩🟨⬛

TypeScript Handbook Summary

How to Create a Simple BMI Calculator Using HTML CSS & JavaScript

Is there actually a difference between LocalStorage and Cookies?

Blog on React Context API

Understanding IIFE in JavaScript

Coding with coffee.

How to Write Tests for Components With OnPush Change Detection in Angular

Neon sign that reads “Change”

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bogna “bognix” Flieger

Bogna “bognix” Flieger

Passion-driven Developer

More from Medium

Up and Running With NodeJS Express App In A Minute (2022)

A Detailed Comparison Between VueJS & ReactJS

how to send email in Cpanel via node js

Proxies in Javascript simplified