Month: August 2018
-
AWS EC2 Elastic Beanstalk Going to Sleep – .Net/Windows/MSSQL Server Express
Hi everyone, I’ve been having a bit of an issue with my AWS app going to sleep and taking a long time to handle initial requests. I’m using .NET with Elastic Beanstalk on a T2 Micro Instance and MSSQL Server Express on RDS. My FrontEnd is a static ReactJS app that sits in S3 behind…
-
NavLink ListItems not Applying activeClassName class when Clicked On – ReactJS React-Router MaterialUI
Hi everyone, A bit of a hairy issue I ran into today that took a while to track down. I’m using React Router with Material UI to render a Drawer as a sidebar: The issue was that some links were not applying the expected activeclass: <ListItemText primary={ About } /> After trawling through react-router I…
-
Uncaught SyntaxError: Unexpected token < – ReactJS Build
Hi everyone, A ReactJS issue I ran into after running npm run build: Uncaught SyntaxError: Unexpected token < This one took a while to track down but it essentially boils down to the built index.html file referencing paths relatively: Issue: index.html was referencing “</html". Instead of: "</html". This meant that anytime a page was accessed…