
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
hops-template-redux
Advanced tools
[](https://www.npmjs.com/package/hops-template-redux)
Please see the main Hops Readme for general information and a Getting Started Guide.
This is a small example application showing hops in action. It demonstrates how to use hops with React, Redux and Jest.
It has the following folder structure:
├── node_modules
├── package.json
├── readme.md
└── src
├── app.js
├── counter
│ ├── actions.js
│ ├── constants.js
│ ├── counterContainer.js
│ ├── counter.js
│ ├── index.js
│ ├── reducer.js
│ └── spec
│ ├── actions.spec.js
│ ├── counterContainer.spec.js
│ ├── counter.spec.js
│ ├── reducer.spec.js
│ └── __snapshots__
│ ├── counterContainer.spec.js.snap
│ └── counter.spec.js.snap
├── home
│ ├── home.js
│ ├── index.js
│ ├── spec
│ │ ├── home.spec.js
│ │ └── __snapshots__
│ │ └── home.spec.js.snap
│ └── styles.css
└── reducers.js
This example uses hops-react to render in the browser or on the server via the same entry file src/app.js.
It contains a small example of the react-router with two routes: / (home) and /counter.
You can customize it to your needs - or use it as a reference guide when creating your own hops react project.
npm start / yarn startThis command can be used to start a development server with hot-code reloading or to start a production server.
npm startnpm start --productionBefore you start a production server you need to build your JS bundle files.
npm run build / yarn buildThis command will generate the browser and server bundles that are required for deploying your code or running the production server through npm start --production.
npm test / yarn testThis command will test your code with jest a testrunner by facebook that integrates nicely with react.
Please refer to the main readme to see a list of all supported options.
In this project we configure babel and postcss through the "browsers" field.
FAQs
[](https://www.npmjs.com/package/hops-template-redux)
We found that hops-template-redux demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.