Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Hawkinson dhawkinson

🏠
Working from home
View GitHub Profile
@dhawkinson
dhawkinson / react-gist.js
Last active Jul 7, 2020
Gist for soliciting help on a project
View react-gist.js
***** My Component *****
// client/src/components/pages/functional/Weather.js
import React, { useEffect } from 'react';
import { connect, useDispatch } from 'react-redux';
import PropTypes from 'prop-types';
import Moment from 'react-moment';
import Spinner from '../../helpers/Spinner'
import { getWeather } from '../../../redux/actions/weather'
View process.js
'use strict';
// node modules
const express = require('express');
const app = express();
const router = express.Router();
const fs = require('fs');
const config = require('config');
// local modules
You can’t perform that action at this time.