2023-09-19
2685
#react
Hussain Arif
124153
Sep 19, 2023 ⋅ 9 min read

Understanding React higher-order components

Hussain Arif Hussain is a CS student in Pakistan whose biggest interest is learning and teaching programming to make the world a better place.

Recent posts:

Nitro: Revolutionizing Server-Side JavaScript

Nitro.js: Revolutionizing server-side JavaScript

Nitro.js is a solution in the server-side JavaScript landscape that offers features like universal deployment, auto-imports, and file-based routing.

Iniubong Obonguko
Sep 16, 2024 ⋅ 11 min read

How to display notification badges on PWAs using the Badging API

Ding! You got a notification, but does it cause a little bump of dopamine or a slow drag of cortisol? […]

Chigozie Oduah
Sep 13, 2024 ⋅ 4 min read
JWT Authentication: Best Practices And When To Use It

JWT authentication: Best practices and when to use it

A guide for using JWT authentication to prevent basic security issues while understanding the shortcomings of JWTs.

Flavio Copes
Sep 12, 2024 ⋅ 5 min read

Auth.js adoption guide: Overview, examples, and alternatives

Auth.js makes adding authentication to web apps easier and more secure. Let’s discuss why you should use it in your projects.

Clara Ekekenta
Sep 12, 2024 ⋅ 10 min read
View all posts

5 Replies to "Understanding React higher-order components"

  1. Thank you for the post.
    Instead of passing in a direct attribute like the 5 and 10 you passed. How do I pass in an incoming prop in the HoverIncrease.jsx?

  2. Very nice, thank you for the explanation!

    Just a note though: in the example, you just pass a number as a prop, so it renders … which doesn’t make sense. How about:

Leave a Reply