Switch from moment.js to date-fns
Open
Nobody has claimed this yet.
1. to develop
dependencies: javascript
technical debt
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
Just an idea, have you considered to use date-fns instead of momentjs for better treeshaking?
Originally posted by @stefan-niedermann in https://github.com/nextcloud/deck/pull/1952#issuecomment-633184342
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified. Start by locating the project’s momentjs usages and reviewing how date-fns would affect them, with treeshaking as the stated goal. Done would require an agreed migration scope and verification that the replacement works throughout the affected areas.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100