Worklog 080918

What I’ve done

Today I fought with an issue all day where I was trying to pass some class functions from a Container component down to a dumb component via the Context API, but I couldn’t use the functions that call this.setState because you can’t call setState in a render. I still haven’t come up with a great solution — I ended up just converting the dumb component to a smart component.

This isn’t the architecture I came up with — all the data should live in the feature Container and get passed down. I need to write more in-depth on this issue at some point — maybe someone has a solution.

This morning I also paired with Kurt Kemple, a maintainer of GatsbyJS, and got a walkthrough of how Gatsby works (and how I can make my first commits to the project ????). Looking forward to it!

Today I Learned

destructuring nested objects!

Interesting Links

Here’s a few links to things I’ve read, watched, or listened to:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.