Skip to content

Convert all utils to hooks #89

@keithfrazier98

Description

@keithfrazier98

The src/utils folder in the dapp currently houses important functions for various operations. They are very delicate and easy to break, considering none of them have access to state. Each time one of them is used, any states or functions they need that are outside the scope of their file have to be passed to them. This isn't a very reactive approach and can lead to memory leaks, which is why they have to be carefully and precisely used.

Each function, although, can be used inside of a react hook in a much more elegant way. Converting all of the utilities to hooks would make the utilities easier to use and would result in a more fluent and fast application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions