Skip to content

Instantly share code, notes, and snippets.

View oreqizer's full-sized avatar
💪
Gainz o'clock

Boris oreqizer

💪
Gainz o'clock
View GitHub Profile
@oreqizer
oreqizer / Todos.jsx
Last active December 6, 2016 12:20
An example of a smart component.
import React, { PureComponent, PropTypes } from 'react';
import { connect } from 'react-redux';
import { Link } from 'react-router';
import { List } from 'immutable';
import TodoItem from './TodoItem';
import TodosForm from './TodosForm';
import todosSelector from './todosSelector';
import * as todoActions from '../../../universal/modules/todo/todoDuck';