---
title: "Discussion on \"My Personal Notes on useEffect.\" | Hashnode"
description: "Discussion on \"My Personal Notes on useEffect.\". In the Beginning...\nThe useEffect hook takes two parameters. The first parameter is a function that gets runs when the useEffect is triggered by some change, the presence of the second parameter is conditional.\nYou call the hook by passing a function..."
url: "https://hashnode.com/posts/my-personal-notes-on-useeffect/5f29b72dd7d55f162b5d9d55"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [My Personal Notes on useEffect.](https://favourcodes.hashnode.dev/my-personal-notes-on-useeffect?utm_source=hashnode&utm_medium=feed)

In the Beginning... The useEffect hook takes two parameters. The first parameter is a function that gets runs when the useEffect is triggered by some change, the presence of the second parameter is conditional. You call the hook by passing a function...

Aug 4, 2020 · 4 min read · favourcodes.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Favour Adedapo](https://hashnode.com/@favourcodes)

@favourcodes · Lagos, Nigeria

  
[View profile](https://hashnode.com/@favourcodes)

Software Developer

I&#39;m a Frontend Developer for Web and Mobile, and UI/UX Enthusiast. I love creating beautiful and intuitive interfaces for users. I have an eye for design with a User-Driven Approach to Development. In my spare time, I work on ThreeJs, WebGL and various CSS Animations.

## Responses 1

Markdown supported · ⌘↵ to post

[Bolaji Ayodeji](https://hashnode.com/@bolajiayodeji)

[Aug 5, 2020](https://hashnode.com/posts/my-personal-notes-on-useeffect/5f29b72dd7d55f162b5d9d55/comment/5f2a2a8de180c5164cdecf70)

Interesting read!

You can try appending the programming name in your code embeds to get the accurate code highlight like so:

\-\`\`\`js

code here

\`\`\`

[Favour Adedapo](https://hashnode.com/@favourcodes)

[Aug 5, 2020](https://hashnode.com/posts/my-personal-notes-on-useeffect/5f29b72dd7d55f162b5d9d55/comment/5f2a2a8de180c5164cdecf70#reply-5f2a613fe180c5164cded19e)

Thank you. I did that but I thought support for JSX formatting is not available at the moment.

Corrected!
