hello.js

var please = require('share');
console.log('thank you');

NEW !!!

Wednesday, 6 January, 2021 UTC

The revealing module pattern in JavaScript explained

Encapsulation, or information hiding in other words, is one of the core characteristics of every module system. A well-designed module should export only a simple interface and keep the irrelevant logic private and inaccessible. Before ECMAScript 2015, ... more


Friday, 25 December, 2020 UTC

The difference between any and unknown type in TypeScript

Both any and unknown are universal types in TypeScript that allow you to assign whatever the heck you want to it. let exampleAny: any; let exampleUnknown: unknown; // I can assign anything to `any` type exampleAny = {} exampleAny = 123; // I can also ... more


Monday, 30 November, 2020 UTC

Top picks — 2020 November

Native CSS Masonry Layout In CSS Grid # Level 3 of the CSS Grid specification introduces something that web devs were waiting for ages — a native way of achieving masonry-like layout using just CSS. Rachel Andrew published this fantastic explainer to ... more


Saturday, 31 October, 2020 UTC

Top picks — 2020 October

Workers Durable Objects Beta: A New Approach to Stateful Serverless # Revolutionary announcement from CloudFlare for everyone interested in building efficient real-time applications. The key is the persistent state on the edge worker. A fantastic way ... more


Wednesday, 30 September, 2020 UTC

Top picks — 2020 September

TypeScript + React: Why I don’t use React.FC # Stefan Baumgartner shares a few solid reasons to reconsider using React.FC<> on your next TypeScript project. I have been using for quite a while now and very rarely come across issues identified in ... more


Tuesday, 18 August, 2020 UTC

Fetch most recent posts to your GitHub profile page using GitHub workflow and Node.js

GitHub workflow is a feature that lets us run actions on particular software development life cycle (SDLC) or a scheduled interval. Another cool feature of GitHub is a way to customise your public profile page using README.md file inside repository named ... more


Friday, 31 July, 2020 UTC

Top picks — 2020 July

Day 1: Chrome web.dev Live 2020, Day 2: Chrome web.dev Live 2020, Day 3: Chrome web.dev Live 2020 # Dedicated playlists for Chrome web.dev conference. Pick and choose what interests you the most. I am pretty excited about some news announced at this event. ... more


Tuesday, 14 July, 2020 UTC

Understanding Node.js Streams

The results of Stack Overflow Developer Survey 2020 for the second year in a row proved the popularity of Node.js. It also hit the top of the list of the most wanted technologies to learn by programmers who are not using it. It’s an obvious choice for ... more


Monday, 1 June, 2020 UTC

Top picks — 2020 May

[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object] ... more


Wednesday, 27 May, 2020 UTC

My favourite Visual Studio Code tips for "how did you do it" kind of people

Apart from a web browser, Visual Studio Code is the application that I spend the most time using. “How did you do it” is something that I hear quite often from other developers whilst using it in front of them. This article is exactly for those kind ... more


Sunday, 12 April, 2020 UTC

Mocking functions and modules with Jest

A JavaScript program can have several dependencies, internal and/or external, most likely represented by the list of imports on the very top of your script. To write deterministic, repeatable unit tests, we need to control the inputs, outputs and invocations ... more


Thursday, 9 April, 2020 UTC

Book review: The Lean Startup by Eric Ries

I was recently inspired by a JavaScript Jabber podcast episode “How to Start a Side Hustle as a Programmer with Mani Vaya” so I decided to read an entrepreneurship book. “Business” is not the number one category of books that I would usually go for but ... more


Friday, 3 April, 2020 UTC

What's new in ECMAScript 2020

[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object ... more


Tuesday, 31 March, 2020 UTC

Top picks — 2020 March

[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object] ... more


Saturday, 29 February, 2020 UTC

Top picks — 2020 February

[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object] ... more


Friday, 31 January, 2020 UTC

Top picks — 2020 January

TSConf 2019 - Watch the Whole Conference # All talks from TSConf 2019 are now online. They are all very insightful and I highly encourage you to watch them all. If you have no time and want to pick just one — “Deno is a New Way to JavaScript” by Ryan ... more


Tuesday, 31 December, 2019 UTC

Top picks — 2019 December

[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object] ... more


Sunday, 1 December, 2019 UTC

Attach Visual Studio Code debugger to SAM (Serverless Application Model) local endpoint

Hi! I am not going to go through the basics of debugging or AWS SAM framework. At this point you are most likely familiar with those — otherwise, you would’ve not landed on this page. I am going to share with you how to attach Visual Studio Code debugger ... more


Saturday, 30 November, 2019 UTC

Top picks — 2019 November

Variable Fonts: What web authors need to know # A great guide on using CSS Variable Fonts in 2019 by Jason Pamental. If you are building a modern type system this resource comes very handy. Visual Studio Online # It is happening! My favourite code editor ... more


Wednesday, 27 November, 2019 UTC

Does JavaScript keep you too busy to care about CSS? Here are recent features you want to know about!

[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object ... more


Friday, 11 October, 2019 UTC

TIL — The power of JSON.stringify replacer parameter

I had an interesting problem that melted my brain a bit. Let me share what I have learned and maybe save you a few moments when you come across a similar challenge. Lets have some fun with JSON.stringify() . const dude = { name: "Pawel", friends: ... more


Saturday, 31 August, 2019 UTC

Top picks — 2019 August

[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object] ... more


Thursday, 8 August, 2019 UTC

Promise combinators explained

Promises added to ECMAScript 2015 specification gave us a new way of dealing with deferred computations. In “From callback hell through promises to async functions” I explained the differences between the common methods of dealing with asynchronous code. ... more


Wednesday, 31 July, 2019 UTC

Top picks — 2019 July

[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object] ... more


Sunday, 30 June, 2019 UTC

Top picks — 2019 June

WWDC19 - Apple Developer # Annual Apple event for developers brought lots of great things. My top highlights are: SwiftUI, Apple as an identity provider (login with Apple) and this little section of docs about changing the default shell on your Mac to ... more


Friday, 31 May, 2019 UTC

Top picks — 2019 May

Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop # Google I/O every year brings a lot of exciting news in the software and hardware world. One of the coolest one is Flutter that is no longer a tool to build efficient multi-platform ... more


Tuesday, 30 April, 2019 UTC

Top picks — 2019 April

[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object] ... more


Sunday, 31 March, 2019 UTC

Top picks — 2019 March

CSS math functions # Are you waiting for the next big thing in CSS? There you go. The CSS Working Group agreed this morning on adding many math functions. We now have: • calc() • min() • max() • clamp() • sin() • cos() • tan() • acos() • asin() • atan() ... more


Tuesday, 19 March, 2019 UTC

Build your first AWS Serverless app

After years of frontend experience, through building AR / VR applications I recently landed a backend-focused role. Luckily I’ve found myself being a part of a team of super talented people working on serverless microservices on the AWS (Amazon Web Services) ... more


Thursday, 28 February, 2019 UTC

Top picks — 2019 February

[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object] ... more