{"size": 444, "ext": "js", "max_stars_repo_path": "Front-End/React/Learning Redux/Ex_Files_Learning_Redux/Exercise Files/Ch03/03_03/start/src/index.js", "max_stars_repo_name": "specter01wj/LAB-Lynda", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Front-End/React/Learning Redux/Ex_Files_Learning_Redux/Exercise Files/Ch03/03_03/start/src/index.js", "max_issues_repo_name": "specter01wj/LAB-Lynda", "max_issues_repo_issues_event_min_datetime": "2020-01-28T22:23:42.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-30T22:29:59.000Z", "max_forks_repo_path": "Front-End/React/Learning Redux/Ex_Files_Learning_Redux/Exercise Files/Ch03/03_03/start/src/index.js", "max_forks_repo_name": "specter01wj/LAB-Lynda", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 43, "max_forks_count": null, "avg_line_length": 20.1818181818, "max_line_length": 51, "alphanum_fraction": 0.7004504505}
import C from './constants'
import appReducer from './store/reducers'
import initialState from './initialState.json'
import { createStore } from 'redux'

const store = createStore(appReducer, initialState)

console.log('initial state', store.getState())

store.dispatch({
	type: C.ADD_DAY,
	payload: {
		"resort": "Mt Shasta",
		"date": "2016-10-28",
		"powder": false,
		"backcountry": true
	}
})

console.log('next state', store.getState())

