---
title: "René Monroy (@rene) | Hashnode"
description: "Front End Engineer. Read the latest articles by René Monroy on Hashnode."
url: "https://hashnode.com/@rene"
---

@rene

# René Monroy

@rene · Joined March 2016

Front End Engineer

## Comments

[I like Svelte but that code comparison is kinda staged. A fair one would use hooks on React, also would properly clear the interval in Svelte too and used the component created inside other component as well. For React can be done this way (and clearing the interval): function Timer() { const \[seconds, setSeconds\] = useState(0); useEffect(() => { const interval = setInterval(() => { setSeconds(seconds + 1); }, 1000); return () => clearInterval(interval); }); return <span>Seconds: {seconds}</span>; } Either way, Svelte is really nice and I'd recommend it every day.](https://hashnode.com/posts/3-reasons-you-should-try-svelte/5f6b5e26ff06f53c8bd635bc/comment/5f6b91a861f6923cac7c04b3)

Comment · Article · Sep 23, 2020 · [3 reasons you should try Svelte](https://hashnode.com/posts/3-reasons-you-should-try-svelte/5f6b5e26ff06f53c8bd635bc)
