Open in app

Sign in

Write

Sign in

Pavol Kögler
Pavol Kögler

278 Followers

Home

About

Oct 20, 2021

Jest + Enzyme unit testing in React

Talking to my peers and friends, nobody really likes to write unit tests for frontend. And I can see why. I saw a few tutorials on how to do them, but most of the time I was confused. Mounting a big chunk of the app with all the child components…

Jest

9 min read

Jest + Enzyme unit testing in React
Jest + Enzyme unit testing in React
Jest

9 min read


Jan 28, 2021

How microchips are born

Even though I work as front-end developer, I studied microelectronics at university. With this background it feels to me almost primitive, how microchips are made and how they look inside. It is however very different with anyone I usually speak. Everyone uses smartphones, computers, TVs, calculators, LED lights almost every…

Electronics

7 min read

How microchips are born
How microchips are born
Electronics

7 min read


Jun 23, 2020

Serial communication in Electron

Few months ago I came across an interesting project. Group of skilled electrical engineers developed machine that could regenerate old lead batteries. However they needed nice interface for workers on site to operate their machine. So they asked me for help. The setup was simple — my interface will run…

JavaScript

3 min read

Serial communication in Electron
Serial communication in Electron
JavaScript

3 min read


Published in

Webtips

·Jun 16, 2020

Know Your Array Methods in JavaScript!

When I started working with arrays in JavaScript I always used for cycles to do operations on arrays. I was used to it from the university where we worked with C and I had no idea there are some built-in methods that would do all the dirty stuff I had…

JavaScript

6 min read

Know your array methods in JavaScript!
Know your array methods in JavaScript!
JavaScript

6 min read


Published in

Better Programming

·Jun 3, 2020

How to Create Modals in React

With Redux and Hooks — When I started with React, one of my first assignments was to create a modal dialog box to display some data in it. I spent a lot of time googling how to create a function that I could call to display some window. It was a natural thing to do…

Programming

4 min read

How to Create Modals in React
How to Create Modals in React
Programming

4 min read


Published in

Better Programming

·Mar 25, 2020

How to Take Snapshots in Jest

An introduction to snapshot tests — I met snapshot tests at one of the legacy projects I got into. I will be honest, I did not like them and had the same opinion as a majority of other articles that just throw dirt on snapshot testing. But then I thought: “If they are so bad, why…

Snapshot

5 min read

How to Take Snapshots in Jest
How to Take Snapshots in Jest
Snapshot

5 min read


Published in

Environmental Ideas

·Mar 3, 2020

Ecology for everyone — Food

It may seem that one person cannot change global warming and pollution in this dirty world. But if we do only small changes in our lives it can have big impact in large scale. And it is not about drastic changes like becoming a vegetarian or moving to the countryside…

Ecology

6 min read

Ecology for everyone — Food
Ecology for everyone — Food
Ecology

6 min read


Feb 12, 2020

Streams in NodeJs — Our lifesavers

No, I will not talk about some fancy video streams. I will talk about much more boring stuff. If you are NodeJs developer, you probably got in touch with stream api. When I first saw it, I was like: “Why do we need such complicated and relatively hard to maintain…

Nodejs

5 min read

Streams in NodeJs — Our lifesavers
Streams in NodeJs — Our lifesavers
Nodejs

5 min read


Published in

Better Programming

·Aug 19, 2019

How To Prevent SQL Injection Without Prepared Statements

Avoid hackers adding a malicious SQL query into your parameter — SQL injection is an attack where a hacker adds a malicious SQL query into your parameter, which is then run on the SQL server. This can have a fatal effect on your application, as the attacker has full control over your data source. …

Sql

6 min read

How To Prevent SQL Injection Without Prepared Statements
How To Prevent SQL Injection Without Prepared Statements
Sql

6 min read


Published in

Webtips

·Aug 8, 2019

Storing Filters to URL in React and Redux App

Recently, I was tasked to store some filter options into URL in a React + Redux app. It felt pretty simple as I’ve done it many times in other frameworks without any obstacles. As I was new to React, I started with research on Google how this should be done…

React

4 min read

Storing Filters to URL in React and Redux App
Storing Filters to URL in React and Redux App
React

4 min read

Pavol Kögler

Pavol Kögler

278 Followers

Fullstack developer and JavaScript enthusiast

Following
  • Dr. Derek Austin 🥳

    Dr. Derek Austin 🥳

  • John Au-Yeung

    John Au-Yeung

  • J.J. Pryor

    J.J. Pryor

  • Frank Zickert | Quantum Machine Learning

    Frank Zickert | Quantum Machine Learning

  • Yogesh Chavan

    Yogesh Chavan

See all (96)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams