Gathering detailed insights and metrics for @sequencemedia/react-router-redux-render
Gathering detailed insights and metrics for @sequencemedia/react-router-redux-render
Gathering detailed insights and metrics for @sequencemedia/react-router-redux-render
Gathering detailed insights and metrics for @sequencemedia/react-router-redux-render
Render isomorphic React + React Router + Redux apps and components in Node
npm install @sequencemedia/react-router-redux-render
Typescript
Module System
Min. Node Version
Node Version
NPM Version
72.1
Supply Chain
86.4
Quality
96.6
Maintenance
100
Vulnerability
100
License
JavaScript (85.39%)
TypeScript (10.09%)
Shell (4.52%)
Total Downloads
170,930
Last Day
70
Last Week
840
Last Month
3,543
Last Year
30,870
2 Stars
1,928 Commits
2 Branches
1 Contributors
Updated on May 09, 2025
Latest Version
2.5.35
Package Id
@sequencemedia/react-router-redux-render@2.5.35
Unpacked Size
12.73 kB
Size
3.68 kB
File Count
13
NPM Version
10.9.2
Node Version
22.15.0
Published on
May 06, 2025
Cumulative downloads
Total Downloads
Last Day
-23.1%
70
Compared to previous day
Last Week
29.4%
840
Compared to previous week
Last Month
14.4%
3,543
Compared to previous month
Last Year
-58.8%
30,870
Compared to previous year
2
32
Render isomorphic React apps and components in Node.
For React Router 7.
An example implementation can be found in react-router-pagination-io.
In Express:
1const express = require('express') 2 3const app = express() 4const port = 3000 5 6const { 7 configureStore 8} = require('./path/to/store') 9 10const store = configureStore() 11 12const routes = require('./path/to/routes') 13 14const { 15 renderToString 16} = require('react-router-redux-render') 17 18app.get('/', ({ url: { path: pathname = '/' } }, res) => res.send(renderToString(store, routes, pathname))) 19 20app.listen(port, () => console.log(`Express ${port}`))
If React Router matches the pathname
to a <Route />
then renderToString
returns a string.
If renderToString
encounters an error then it throwa a 500 Internal Server Error
.
If renderToString
cannot match the pathname
to a <Route />
then it throws a 404 Not Found
.
react-router-redux-render
exports three functions:
renderToString
renderToStaticMarkup
render
renderToString
generates <html />
including the attributes that React uses in ReactDOM.hydrate()
. It implements ReactDOMServer.renderToString()
.
renderToStaticMarkup
doesn't include those attributes. It's useful for using React as a rendering engine for static pages. It implements ReactDOMServer.renderToStaticMarkup()
.
render
executes renderToString
but returns a Promise
which resolves to a string.
@sequencemedia/react-router-redux-render
for React Router apps (with Redux)@sequencemedia/react-router-render
for React Router apps (without Redux)@sequencemedia/react-redux-render
for React Redux apps (without React Router)No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Score
Last Scanned on 2025-04-28
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More