---
title: "Telmo Goncalves (@telmo) | Hashnode"
description: "Developer who can design. Read the latest articles by Telmo Goncalves on Hashnode."
url: "https://hashnode.com/@telmo"
---

@telmo

# Telmo Goncalves

@telmo · Portugal · Joined April 2020

Developer who can design.

[Website](https://telmo.is/)

### [How to use CSS variables](https://h.telmo.is/how-to-use-css-variables?utm_source=hashnode&utm_medium=feed)

Since I learned about CSS variables that's all I've been using for my projects. This website aside from using TailwindCSS I'm always using CSS variables as well. Let us take a look how we can accomplish that. Per class One way of doing this is by a ...

4 min read · [h.telmo.is](https://h.telmo.is/how-to-use-css-variables?utm_source=hashnode&utm_medium=feed)

[Feb 12, 2021](https://hashnode.com/posts/how-to-use-css-variables/60264dc1e134515f516e5ee3)

### [Learn how to destructure objects and arrays](https://h.telmo.is/learn-how-to-destructure-objects-and-arrays?utm_source=hashnode&utm_medium=feed)

Destructuring is a convenient way of extracting multiple values from data stored in objects and Arrays. Let's take a look on how to destructure an object: const info = { name: 'Telmo', age: 33, twitterHandler: '@telmo' } // Destructure data from \`i...

5 min read · [h.telmo.is](https://h.telmo.is/learn-how-to-destructure-objects-and-arrays?utm_source=hashnode&utm_medium=feed)

[Feb 11, 2021](https://hashnode.com/posts/learn-how-to-destructure-objects-and-arrays/6024ed364d9e7d4dd727e0b0)

### [How to set default values while destructuring](https://h.telmo.is/how-to-set-default-values-while-destructuring?utm_source=hashnode&utm_medium=feed)

One really handy thing JavaScript provide us is destructuring. I love it and it can make our code much cleaner. Let us take a look at a simple piece of code: const profile = { name: 'Telmo', twitter: '@telmo', age: 34, } Now, if we want to acc...

3 min read · [h.telmo.is](https://h.telmo.is/how-to-set-default-values-while-destructuring?utm_source=hashnode&utm_medium=feed)

[Feb 10, 2021](https://hashnode.com/posts/how-to-set-default-values-while-destructuring/60239d0f80da6c44eadf6649)

### [A neat way of building React components](https://h.telmo.is/a-neat-way-of-building-react-components?utm_source=hashnode&utm_medium=feed)

I'll explain one of the best way (in my opinion) to keep your React components clean and reusable. I'll be using TypeScript for this and we'll start with a simple Button component: type Props = { children: string } function Button({ children }: Pr...

4 min read · [h.telmo.is](https://h.telmo.is/a-neat-way-of-building-react-components?utm_source=hashnode&utm_medium=feed)

[5](https://hashnode.com/posts/a-neat-way-of-building-react-components/60229875aaa3543c903bfbc9) [Feb 9, 2021](https://hashnode.com/posts/a-neat-way-of-building-react-components/60229875aaa3543c903bfbc9)

### [How to use filter() Array with JavaScript](https://h.telmo.is/how-to-use-filter-array-with-javascript?utm_source=hashnode&utm_medium=feed)

Recently I've found out about filtering array using type guards, such as Number or Boolean and I thought it would be good to write a small post about it. I've posted a tweet about this, which contain a really neat trick in my opinion. Let's do this....

4 min read · [h.telmo.is](https://h.telmo.is/how-to-use-filter-array-with-javascript?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-to-use-filter-array-with-javascript/6022420e281265375d643e40) [Feb 9, 2021](https://hashnode.com/posts/how-to-use-filter-array-with-javascript/6022420e281265375d643e40)
