NUKnightLab / NUKnightLab/TimelineJS3

Simplify Net.js

Open
#824 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
JavaScript
Stars
3.2k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

Our file, Net.js, is derived from the Zepto library.

Since we integrated it, cross-browser network access has standardized considerably, making that a very heavy bunch of code which we probably don't need.

We should consider maintaining it as a façade and re-implementing the exported functions using current javascript standards.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/js/net/Net.js and identify the exported functions that form its façade over the Zepto-derived implementation. Read how those functions are used, then confirm that current JavaScript network standards can replace the heavy internals without changing the façade's behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.