Skip to content

Instantly share code, notes, and snippets.

View nitaliano's full-sized avatar

Nick Italiano nitaliano

View GitHub Profile
@nitaliano
nitaliano / App.js
Created September 19, 2019 04:39
Example Text Input
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow
*/
import React, {Fragment} from 'react';
### Keybase proof
I hereby claim:
* I am nitaliano on github.
* I am cbitaliano (https://keybase.io/cbitaliano) on keybase.
* I have a public key ASDXVzlK2766dIgn0PWJ0zwWJtLy5pCPFPrFg7jaMhIItwo
To claim this, I am signing this object:
import { createStore, combineReducers, applyMiddleware, compose } from 'redux';
import { routerReducer } from 'react-router-redux';
import thunk from 'redux-thunk';
import header from '../reducers/header';
import weather from '../reducers/weather';
import details from '../reducers/details';
import settings from '../reducers/settings';
export default function (initialState) {
const rootReducer = combineReducers({
import React from 'react';
import ReactDOM from 'react-dom';
import configureStore from './store';
import routes from './routes';
import { Provider } from 'react-redux';
import { Router, browserHistory } from 'react-router';
import { syncHistoryWithStore } from 'react-router-redux';
window.addEventListener('DOMContentLoaded', () => {
const $el = document.getElementById('app');
import React from 'react';
import App from './components/App';
import WeatherList from './components/WeatherList';
import WeatherDetails from './components/WeatherDetails';
import { Route, IndexRoute } from 'react-router';
const routes = (
<Route path="/" component={App}>
<IndexRoute component={WeatherList} />
<Route path="details" component={WeatherDetails} />
const config = {
entry: {
app: path.join(__dirname, 'src', 'app.jsx'),
},
devtool: IS_DEVELOP ? 'source-map' : 'hidden-source-map',
output: {
filename: '[name]' + (IS_DEVELOP ? '' : '.min') + '.js',
path: path.join(__dirname, 'build'),

Keybase proof

I hereby claim:

  • I am unboundfire on github.
  • I am nickitaliano (https://keybase.io/nickitaliano) on keybase.
  • I have a public key whose fingerprint is 5E7F 2AD3 AC6E 9682 50F0 05DF C2B3 FC9B DEA2 7B98

To claim this, I am signing this object: