Skip to content

Instantly share code, notes, and snippets.

View marharyta's full-sized avatar

Margarita marharyta

View GitHub Profile
import React from 'react';
import ReactDOM from 'react-dom';
import './css/main.css';
class App extends React.Component {
constructor(props) {
super(props);
this.state = { coworkings: [] };
}
componentDidMount() {
@marharyta
marharyta / index.html
Last active August 10, 2018 15:31
React-redux-search src/ folder
<html>
<head>
<link rel="stylesheet" href="<%=htmlWebpackPlugin.files.chunks.main.css %>">
</head>
<body>
<div id="root"></div>
<script src="<%= htmlWebpackPlugin.files.chunks.main.entry %>"></script>
</body>
@marharyta
marharyta / .babelrc
Last active July 17, 2018 09:51
React-redux search
{
"presets": ["env", "react"]
}