ā† Writing

Cary Connects

Updated 10 months ago

Problem

Parking in the Town of Cary has been a bit tricky. Businesses have preferred parking lots, there are varying restrictions on spaces, and it has been difficult to know when and where to park. This sort of problem could be solved by a business, but it is difficult to monetize. Enter Code for Cary, a brigade of Code for America. A group of civic hackers can mash together their skills and help out their local community.

Application State

I joined the team in the late stages before the application went to production. One challenge the team was having when I joined was with the applicationā€™s state. Many UI components and functions had prop drilling that was unwieldy. I helped implement React Context which greatly simplified the codebase.

Context lets you access state at any level within your application without passing props down and up the chain. This helped speed the team up extending functionality. I estimate it saved the team 1-2 development days which is consequential in a volunteer project.

UX

The application also needed work on UX including accessibility and design inconsistencies. While accessibility is important for all projects, it is of particular importance on civic ones. I utilized Chrome Lighthouse to find opportunities to increase the applicationā€™s accessibility. Itā€™s an ongoing pursuit as the application keeps changing.

Finding this useful?

You can get these articles in your inbox, plus updates about projects I'm working on. I won't send you any spam and you can unsubscribe at any time.

A small favor

Was anything I wrote confusing, outdated, or incorrect? Please let me know! Just write a few words below and Iā€™ll be sure to amend this post with your suggestions.