Not all the components you write for your react application can be divided into Stateful and Stateless (dumb) categories. There is a 3rd yet advanced type of components in React that are called Higher order components. If you don’t know about them yet, you can always refer to the documentation and to see them in real world action, I’ve already wrote about them here.
03 Nov 2017
01 Oct 2017
18 Sep 2017
Before you read this article, read React’s official document on HOCs if you haven’t read it yet. Pretty much in any React application, you call an API to fetch some data and use them to render some content in your application.
06 Aug 2017
window.print(), but there is a slight issue that you may not encounter at once.
22 Jan 2017
28 Dec 2016
There are many cases iframe would be good solution to use. Although they are kind of dead to HTML and not a lot of developers use it, It could come up to you as a solution to a complicated problem some day.
06 Dec 2016
In a react application where you choose redux as a pattern to manage the data, there comes situations where you want to list an array of data and show them in your component. For instance let’s say you have an array of todos to be shown in a list and you are getting the list from a rest API.