Sarah SweatinLevel Up CodingUnit Testing for React with Jest SnapshotsJest Snapshots are increasingly being used to test React Components. Snapshots are generally testing the initial rendering of a component…May 31, 2020May 31, 2020
Sarah SweatinLevel Up CodingDRY Up Your Code with GraphQL FragmentsRecently I have been learning and using GraphQL and Apollo a lot more in react applications. This blog post is going to assume you have…Jun 11, 20192Jun 11, 20192
Sarah SweatinLevel Up CodingReact Context API as an Alternative to State Management LibrariesIn the past I have generally reached for libraries like MobX or Redux in order to manage the state in my app and to hold onto values that…Apr 18, 2019Apr 18, 2019
Sarah SweatinWe’ve moved to freeCodeCamp.org/newsHow to build a React development playground using StorybookLately, I have been wanting to try new things and test out new technologies or patterns in my React components and needed a place where I…Apr 2, 20192Apr 2, 20192
Sarah SweatinLevel Up CodingImprove Code Reusability With React’s Render Prop PatternIf you are a React developer and working with new and/or previously built components everyday you most likely have started to notice…Apr 2, 2019Apr 2, 2019
Sarah SweatinLevel Up CodingBuilding a Componentized and Reusable “Scroll to Top” Feature in ReactOk, so my task at hand is to create a scroll-to-top feature which allows the user experience to be as follows:Mar 8, 20194Mar 8, 20194
Sarah SweatinLevel Up CodingUse Code Snippets in VSCode to Create React Components Faster!Lately I have been writing a lot of code and rapidly producing many new components in React, creating stories for them in Storybook and…Feb 22, 2019Feb 22, 2019
Sarah SweatUsing the Google Maps API with ReactHey there! So this is going to be a brief post about how I am incorporating the google maps API into my final project in order to mark on a…Aug 16, 20172Aug 16, 20172
Sarah SweatThe Rabbit Hole of Fibonacci Sequences, Recursion and MemoizationOk, prepare yourself for the literal rabbit hole of my Tuesday night….Jul 26, 2017Jul 26, 2017
Sarah SweatWhat is this Treehouse stuff?Remember on Day 1, we were able to list our treehouse account… If you were like me, you probably thought, treehouse? What’s that? Well, let…Jul 5, 2017Jul 5, 2017