Skip to content

Instantly share code, notes, and snippets.

View osmanperviz's full-sized avatar

Osman osmanperviz

View GitHub Profile
@osmanperviz
osmanperviz / gist:c3f50da76a253ff5a46d37ab918f3d70
Created April 17, 2019 15:10
RelayModern - React lazy load
import CircularProgress from '@material-ui/core/CircularProgress'
import debounce from 'lodash.debounce'
import PropTypes from 'prop-types'
import React, {Component} from 'react'
import Typography from '@material-ui/core/Typography'
import {withStyles} from '@material-ui/core/styles'
const styles = theme => ({
contentEnd: {
width: '100%',