Skip to content

Multiple calls to DB on mount #27

Description

@graydonj

A couple of pages (FindPoll.js and VotingBooth.js) make identical calls to the database in order to populate the poll data. It should be possible to re-factor this to a higher level call that then passes state down to the FindPoll and VotingBooth pages. Then you aren't re-calling your connection to the database, and that will be slightly more efficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions