---
title: "Discussion on \"Pure and Impure Functions\" | Hashnode"
description: "Discussion on \"Pure and Impure Functions\". Wanted to share an interesting point about pure and impure functions today.\nPure Functions are functions that do not depend on or modify any external state.\nSimilarly Impure Functions in React modify external state or DOM directly and depend on exter..."
url: "https://hashnode.com/posts/pure-and-impure-functions/675e436920c9e602c68a5109"
---

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

Discussion

# [Pure and Impure Functions](https://saurabhnative.hashnode.dev/pure-and-impure-functions?utm_source=hashnode&utm_medium=feed)

Wanted to share an interesting point about pure and impure functions today. Pure Functions are functions that do not depend on or modify any external state. Similarly Impure Functions in React modify external state or DOM directly and depend on exter...

Dec 15, 2024 · 1 min read · saurabhnative.hashnode.dev  
Read the article

## Written by

[Saurabh Mhatre](https://hashnode.com/@saurabhmhtr)

@saurabhmhtr · India

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

Frontend Developer

Software developer residing in Navi Mumbai | Youtuber | Blogger| Connent with me on Twitter

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
