Hamidreza Nateghi·Sep 21, 2023How to write Clamp function in JavaScriptA “clamp” function is a mathematical or programming function that limits the range of a value within a specified minimum and maximum…
Hamidreza Nateghi·Aug 17, 2023Create a Donut Chart using Material UI CircularProgressLet’s say we’re trying to make a donut chart using the CircularProgress component from Material UI.
Hamidreza Nateghi·Aug 11, 2023Fixing Modal Issues: Two Solutions to Event BubblingSuppose we have a component as shown below: