Michael Jones Michael Jones - 1 year ago 145
React JSX Question

Purpose of redux-cli

currently looking through a boilerplate called react-redux-start-kit by Dave Zuko, and there is a folder called

. Apparently it is for a library called
, and having no clue what that is I did some research. (Link to

The problem is, the documentation for
didn't really say what it is. I have also read that
makes it faster to build apps. Could someone please explain to me what
is, and how it works?

Answer Source

redux-cli is a utlity that speeds up development by reducing work required to create basic elements of your app, e.g. components. Usually, when you create such component, you have to create file for a component, test suite and they all start with a certain structure that you usually copy / paste from other, existing components. With redux-cli you just use simplified commands in your console to auto-generate those basic versions of a new component and you can just jump in and start writing the essence of it.

blueprints are simply templates, redux-cli uses when running commands (for example when running command to create new component it will look at blueprints directory first and see if you have customized template for how you want your components to be initialized). Documentation is pretty clear I'd say - https://github.com/SpencerCDixon/redux-cli#creating-blueprints