[ ] Reloading any page on the AWS-hosted live demo throws an error
This is related to AWS not finding the programmatic routes so when /create is reloaded AWS is expecting an actual endpoint for that URI, but there isn't one since React Router is being used
[x] Change the default route to path="/" component={CreateDestination.js} and have path="/create" navigate to `component={Create Destination} as well
[ ] Build out a button HOC using React Hook for React Router (useHistory) to handle programmatic routing
Item #1 on this to-do list might be a little tricky to implement since I am not using SSR for this app. I am going to table this issue for a later date.
Fix the following 🐛s:
This is related to AWS not finding the programmatic routes so when
/create
is reloaded AWS is expecting an actual endpoint for that URI, but there isn't one since React Router is being used[x] Change the default route to
path="/" component={CreateDestination.js}
and havepath="/create"
navigate to `component={Create Destination} as well[ ] Build out a button HOC using React Hook for React Router (useHistory) to handle programmatic routing
React Router Hooks