faceyspacey / faceyspacey/require-universal-module

it('should respect network conditions')

Open
#8 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
29
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Just playing with universal-modules and was surprised by default behavior:
if loading was failed, due to any reason - timeout or network failure - it will _never_ let you repeat operation.
And, if you _fix_ that with `alwaysUpdate` flag - it will always load new data from a server.
Nothing in between.

What do you think about adding something to handle situations like this?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by tracing how failed loading and the `alwaysUpdate` flag are handled, then clarify the desired behavior between never retrying and always fetching. Done should include an agreed network-failure policy and tests for the relevant timeout and retry cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.