Criptext / Criptext/Criptext-Email-React-Client
Refactor EMAIL_MAILBOX > handleNewMessageEvent && fetchEmailBody methods
- Dominant language
- JavaScript
- Stars
- 75
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Right now these functions are cumbersome, crowded and prone to errors. Example, fetchEmailBody will return undefined if the request status is not 200 or 499.
handleNewMessageEvent object dereferences the return value of an undefined throwing a wrong exception.
**Describe the solution you'd like**
This needs to be broken down into simpler functions and logic
**Describe alternatives you've considered (Optional)**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context (Optional)**
Add any other context or screenshots about the feature request here.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.