Skip to content

Instantly share code, notes, and snippets.

@ryansolid
ryansolid / cr-react.jsx
Last active Nov 20, 2018
Component Register React
View cr-react.jsx
import { register, compose } from 'component-register'
import withReact from 'component-register-react'
import React, { Component } from 'react'
// Normal React Component
class MyComponent extends Component
constructor(props) {
this.state = {greeting: 'Hello'}
}
You can’t perform that action at this time.