CGCristian Gherghelinelectron.hashnode.dev·Oct 14, 2020 · 1 min readSpreadsheet javascript componentIf you ever find yourself in the need of having spreadsheet format in the client side (FE), then you should maybe consider this tiny library named importabular. It's small and mobile-friendly, get's the job done. Check it out, if you think you need...00
CGCristian Gherghelinelectron.hashnode.dev·Oct 14, 2020 · 1 min readURLs building for the API'sIf 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...00
CGCristian Gherghelinelectron.hashnode.dev·Oct 14, 2020 · 1 min readJS Date management - date-fns.jsI 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...00
CGCristian Gherghelinelectron.hashnode.dev·Oct 14, 2020 · 2 min readVue and ReactHi 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: ...01A
CGCristian Gherghelinelectron.hashnode.dev·Oct 14, 2020 · 1 min readDisable the autocomplete ChromeI 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...01F