Skip to content

Instantly share code, notes, and snippets.

View s-no1ukno's full-sized avatar

Jordan Snow s-no1ukno

View GitHub Profile
const express = require('express');
const morgan = require('morgan');
const cors = require('cors');
const app = express();
app.use(morgan('dev'));
app.use(cors());
app.get('/', (req, res) => {
@s-no1ukno
s-no1ukno / issues.md
Last active September 16, 2019 01:03
Issue with mounting multiple components dynamically - React, React-router, Bootstrap

What I'm Doing

Hey, guys...I created the boilerplate for my webapp with create-react-app, then added Bootstrap, Styled-components, and React-router. I'm definitely new to coding, so even if you see stuff that's outside of the scope of my posted issues, definitely feel free to chime in with suggestions, pull requests, and any other manner of help. It's all much appreciated!

Issues

  • 1 Mounting multiple image portfolio components within a single div on a page per user input
  • 2 Found a pretty cool bug with my imports, which won't load certain aspects of the page without internet connectivity

Components Issue

First problem is with loading components dynamically. Here's what I ended up doing: