codeforgso / GoVote

Local voter registration and election candidate application.
http://govotegso.org/
GNU General Public License v3.0
24 stars 46 forks source link

Refactor Name Lookup and Address Verification into a resuable component #84

Closed SchaeStewart closed 6 years ago

SchaeStewart commented 6 years ago

This is a:

Enhancement

Description

Each of the pages on the site are going to need the user's name and address in order to find relevant information to them. Encapsulating this functionality into a single component will help prevent duplication of work.

Implementation

Look at the VoterInfoForm and VerifyVoterInfo components and extract the name lookup and address verification functionality into a single component.
Ensure the data returned from the API to the new component, can be passed up to other components.