Skip to content

Instantly share code, notes, and snippets.

View iamsoorena's full-sized avatar
🎯
Focusing

Soorena iamsoorena

🎯
Focusing
View GitHub Profile
@iamsoorena
iamsoorena / sag.js
Created December 13, 2018 12:38
salam
import './index.css'
import React from 'react'
import ReactDOM from 'react-dom'
import sortBy from 'sort-by'
let items = [
{
id: 1,
name: 'tacos',
type: 'mexican',
import './index.css'
import React from 'react'
import ReactDOM from 'react-dom'
import sortBy from 'sort-by'
let items = [
{id: 1, name: 'tacos', type: 'mexican', price: 6},
{id: 2, name: 'burrito', type: 'mexican', price: 9},
{id: 3, name: 'tostada', type: 'mexican', price: 8},
{
import React from 'react'
import ReactDOM from 'react-dom'
import agent from './agent'
import {createStore} from 'redux'
import {connect, Provider} from 'react-redux'
const ACTION_NAMES = {
ARTICLES_LOADED: 'ARTICLES_LOADED'
}