https://github.com/inside/react-csr
A React HOC responsible for client side rendering components from your server side rendered application
https://github.com/inside/react-csr
Last synced: 10 months ago
JSON representation
A React HOC responsible for client side rendering components from your server side rendered application
- Host: GitHub
- URL: https://github.com/inside/react-csr
- Owner: inside
- Created: 2017-09-02T21:38:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-02T21:44:08.000Z (almost 9 years ago)
- Last Synced: 2025-06-22T16:55:45.288Z (12 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-csr
A React HOC responsible for client side rendering components from your server side rendered application
## Usage
```
// dummy.js
import PropTypes from 'prop-types'
import React, { Component } from 'react'
import csr from 'react-csr'
class Dummy extends Component {
static propTypes = {
name: PropTypes.string,
}
render() {
return (
Hello I am {this.props.name}
)
}
}
export default csr(Dummy,
dummy placeholder)
```
```
// App.js
```