---
title: "Cristian Gherghel (@electron) | Hashnode"
description: "art. Read the latest articles by Cristian Gherghel on Hashnode."
url: "https://hashnode.com/@electron"
---

@electron

# Cristian Gherghel

@electron · Transilvania, RO · Joined September 2020

art

### [URLs building for the API's](https://electron.hashnode.dev/urls-building-for-the-apis?utm_source=hashnode&utm_medium=feed)

If you find yourself in this case: const API\_URL = 'https://api.example.com/'; function getUserPosts(id, blogId, limit, offset) { const requestUrl = \`${API\_URL}/users/${id}/blogs/${blogId}/posts?limit=${limit}&offset=${offset}\`; // send HTTP req...

1 min read · [electron.hashnode.dev](https://electron.hashnode.dev/urls-building-for-the-apis?utm_source=hashnode&utm_medium=feed)

[Oct 14, 2020](https://hashnode.com/posts/urls-building-for-the-apis/5f8735a6c5c9ff500d6cb6f4)

### [JS Date management - date-fns.js](https://electron.hashnode.dev/js-date-management-date-fnsjs?utm_source=hashnode&utm_medium=feed)

I think the time had come to drop moment.js. And when saying that is because I found something a bit more convenient and lightweight: https://date-fns.org/ And I like the API, which sounds as: const today = new Date(); console.log( lastDayOfMonth(to...

1 min read · [electron.hashnode.dev](https://electron.hashnode.dev/js-date-management-date-fnsjs?utm_source=hashnode&utm_medium=feed)

[Oct 14, 2020](https://hashnode.com/posts/js-date-management-date-fnsjs/5f872ff642164e4fe94febf9)

### [Vue and React](https://electron.hashnode.dev/vue-and-react?utm_source=hashnode&utm_medium=feed)

Hi all! I am a Vue.js ecosystem web dev, with 3+ more experience in Vue.js. I have started the tutorials of React.js with Mosh which explains very very well the library, and if it would be to compare the two so far, I would say the following. Note: ...

2 min read · [electron.hashnode.dev](https://electron.hashnode.dev/vue-and-react?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/vue-and-react/5f86f7544f98e6438943673f) [Oct 14, 2020](https://hashnode.com/posts/vue-and-react/5f86f7544f98e6438943673f)

### [Disable the autocomplete Chrome](https://electron.hashnode.dev/disable-the-autocomplete-chrome?utm_source=hashnode&utm_medium=feed)

I get this annoying helping functionality of Google Chrome browser in what regards the forms: it auto-fills with predefined stored/cached data even if I specify clearly autocomplete="off/none" HTML attribute. There are cases when I really want the f...

1 min read · [electron.hashnode.dev](https://electron.hashnode.dev/disable-the-autocomplete-chrome?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/disable-the-autocomplete-chrome/5f86e3e776870f43aa09d830) [Oct 14, 2020](https://hashnode.com/posts/disable-the-autocomplete-chrome/5f86e3e776870f43aa09d830)

### [Recurring object properties - JS](https://electron.hashnode.dev/recurring-object-properties-js-1?utm_source=hashnode&utm_medium=feed)

If you ever get into troubles (and I'm sure you did) when trying to access a property of a JS object which does not exist twice, you will definitely get the red alert in the console. Example: const obj = {}; console.log(obj.foo.bar); In order to f...

1 min read · [electron.hashnode.dev](https://electron.hashnode.dev/recurring-object-properties-js-1?utm_source=hashnode&utm_medium=feed)

[Oct 14, 2020](https://hashnode.com/posts/recurring-object-properties-js-1/5f86ac3e4f98e64389436435)
