React, JavaScript, Technology, Programming, Productivity.
job of the container are still the same. First, write your natural component and then use the higher order component to bridge the gap. Container implemented with a higher order component Folder structure for above: /PersonCard -PersonCard.js ----------------- natural component -PersonCard.test.js