HathorNetwork / hathor-explorer

Hathor's Public Explorer
MIT License
8 stars 4 forks source link

refactor: Dag screen to functional component #314

Closed tuliomir closed 3 weeks ago

tuliomir commented 4 weeks ago

Acceptance Criteria

Notes for reviewers

This screen relied heavily on local variables, instead of component state, to work. So the refactor had to change most of the data flow of this component. Many intermediate structures and helpers also had to be built, and this makes the diff almost unreadable.

I'd recommend looking at the file before and after to have a clearer understanding of the code changes.

Security Checklist