by Plop is a file generator tool system which allows you to define a script file to generate all the boilerplate files for you. Similar in how Angular schematics works, you can define a set of actions who would generate all the pre-defined code for you either automatically or by answering to some CLI prompts. First, you will need to define a plopfile.js who would contain a function who would receive a plop object with access to all the methods to generate the code.

For example, we will create a new generator to generate all our Redux boilerplate for us.

Related Articles