How To Setup React Component In Tests
In the examples, the testing stack is Jest and Enzyme, but this pattern can be used in any other combination of test runner and renderer. I would like to show you the simple pattern that we are using in Selleo, and how it came to life.
May 23, 2019
SVG Icons - From Sketch to React
The inlined SVG icons are currently the best way to use icons on the web. If you’re not familiar with that approach or still need convincing, check out this great article on CSS Tricks. But how should we prepare and use the inline SVG icons?
Mar 11, 2019
How To Preview Doc And PDF Files In Browser
Are you struggling with Doc and PDF files preview in the browser? This article will show you how to go about it.
Feb 6, 2019
ReactJS - Persisting State And Handling Offline With Redux
For keeping the data stored in the application we can use redux-persist, which during a process called ‘rehydration’ restores the last known content of the store.
Nov 30, 2018
ReactJS And React Native Similarities And Differences
Nov 24, 2017
Testing React Components Best Practices
The most popular approach to testing React components is to use either Mocha+Chai+Enzyme or Jest+Enzyme. In this article, we will describe our React components testing practices with Jest+Enzyme which are also applicable to Mocha+Chai.
Mar 7, 2017