Punchcode Programming Bootcamp, Day 48

in #blog6 years ago

It's 8:30pm and I am still on campus. I'm in the back room because the front classroom is currently holding a meetup for some spiritual healing class.

I might have to go join them before they leave because my spirit has been crushed repeatedly. Like a bag of stale bread before making breadcrumbs for a really good meatloaf.

I wasn't able to do much last night and was looking forward to the opportunity to pair program with one of my friends and make some good progress on the map for our final project. But we basically got stonewalled and made almost no progress on the map.

So here is my conundrum. We are currently using the most popular library for using Google Maps with React. The docs are all written to take advantage of using Recompose, which is a library that is basically stateless. I need to have access to state, so I need to remove Recompose. But it is tied deeply within almost all of the tutorials and examples found on the web. According to the official documentation it is possible to remove Recompose, but there is only one very weak example of it... for an unrelated function. But it can be done.

Other react libraries don't have the functionality we need for this project. And other map apis are very weak when it comes to rendering directions. And there is almost no documentation on writing react components in pure JS for Google maps. The easiest way is to use html, which we are not using in our project. If you go on YouTube there are dozens of tutorials on how to add Google Maps to your site, but they all start with "First download (insert library here). It will make everything so easy."

But it doesn't. And using React with Google Maps is like using a knife to eat peas. Sure it's possible but who has that much patience?

Thank you all for being my rubber duck!