reactReact Typescript library with Rollup and Jest - Storybook setupIn this part of React Typescript library setup tutorial I will describe how you can add Storybook base documentation for your components. If…27 Sep 20205 min read
reactReact Typescript library with Rollup and Jest - tests setupIf you are starting from this page I would suggest you to go back to the part 1 of this tutorial where initial Rollup and Typescript setup…02 May 20204 min read
reactReact Typescript library with Rollup and Jest - adding ReactIf you are starting from this page I would suggest you to go back to the part 1 of this tutorial where initial Rollup and Typescript setup…18 Apr 20203 min read
reactReact Typescript library with Rollup and Jest - initializationHere is a tutorial which will show you how to create your own NPM package with React components written in Typescript. You can check https…15 Mar 20208 min read
javascriptWhat are NPM dist tags and how to use themWhile developing or using NPM package registry you may come across command or multiple dist tags available for one package e.g. next tag…22 Feb 20203 min read
javascriptHow to mock global window variables with JestWhile generally everything is extremely easy using Jest, mocking global variables is one thing which is left up to developer. You can…12 Jan 20205 min read
frontendWhat is and how to use Google Tag ManagerGoogle Tag Manager (GTM) is a tool made by Google which lets you modify content of your website without touching its codebase. It adds a…12 May 20193 min read
reactReact multiple event handlers performanceHow to bind handlers in React to multiple similar elements e.g. buttons on list? Is it any better to use one handler and identify clicked…09 Mar 20193 min read
reactReact.PureComponent - different ways of writing event handlersThere are many ways to define event handlers in React. Are there any differences between them? TLDR; You should probably avoid the inline…04 Mar 20194 min read
reactReact.PureComponent - children vs custom propertiesCan I use the property with React.PureComponent, or do I have to use only custom properties? TLDR; You can use with React.PureComponent as…27 Feb 20192 min read
frontendIntegration tests with Jest, Selenium and BrowserStack - part 2 - multiple browsersAs described in part 1 you can run Jest based tests with BrowserStack service. Now I will show how they can be automatically run against…06 Nov 20184 min read
frontendIonic 3 show/hide content based on screen sizeHere is a complete Bootstrap-like solution for showing and hiding selected Ionic components based on screen size. Go to solution…02 Jul 20184 min read
frontendIonic 3 browser splash screen / preloaderThe Splash Screen component is available for a long time but only as Ionic Native component, so we can't use it inside browser. I will…05 Jun 20187 min read
frontendIonic Framework - ionic-app-scripts live reload shows old contentA solution for live reload "bug" while using ionic-app-scripts which causes showing old content after automatic page refresh. If you are…13 May 20181 min read
frontendIonic 3 Framework - setFocus on opened modal inputUse Angular hook and execute inside it. While working with the Ionic 3 Framework I came across (as it turns out) popular problem of…26 Apr 20182 min read
javascriptIonic Framework 3 - troubleshootingWhile playing with Ionic Framework v3 I came across few errors/problems which I would like to describe here. ion-app did not match eny…13 Apr 20182 min read
toolsFree image sources for commercial and non-commercial useHere is a list of popular pages which offers free images. By free images I mean CC0 (or similar) licensed pictures which may be used (and…11 Jun 20171 min read
javascriptCustom scrollbars for HTML elementsSometimes your website may need inner scrolling for an element with overflowing content. In most cases using simple: is not enough to…20 Mar 20171 min read