documentcloud / documentcloud/underscore-contrib

Replace snapshot with a more robust deep clone

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

Nobody has claimed this yet.

after modules enhancement
Dominant language
JavaScript
Stars
622
Forks
114
PR merge metrics
No merged PRs in 30d

Description

The snapshot function is a little simplistic right now. We should look into replacing it with something more robust. Basing it off of Lo-Dash's cloneDeep would probably be a good start.

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 by locating the snapshot function and reviewing its current behavior, then compare the desired approach with Lo-Dash's cloneDeep. Done means replacing the simplistic implementation with a more robust deep clone and verifying the relevant behavior.

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.