Pure and Impure Functions
Dec 15, 2024 · 1 min read · 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...
Join discussion


