react-server-status
Based on https://github.com/gaearon/react-side-effect
Install
$ npm install --save react-server-status
Example
React View
; ; { return <ServerStatus status= 500 > <div>Some content</div> </ServerStatus> ; }
Server
// …;;;// …const page = ;thisstatus = ServerStatus || 200;/// …