Skip to content

[HOLD for payment 2024-08-02] Moize - general purpose memoization tool #42200

@kacper-mikolajczak

Description

@kacper-mikolajczak

In order to properly evaluate if a new library can be added to package.json, please fill out this request form. It will be automatically assigned someone from our review team that will go through and vet the library.

In order to add any new production dependency, it must be approved by the App Deployer team. They will evaluate the library and decide if it's something we want to move forward with or if other alternatives should be explored.

Note: This is only for production dependencies. While we don't want people to add packages to dev-dependencies willy-nilly, we recognize that there isn't as great of a need there to secure them.

Name of library: Moize

Details

  • Link to package: https://github.com/planttheidea/moize
  • Problem solved by using this package: App as of now, does not have a standardized way of handling memoization outside of React. It boils down to using custom-made solutions like Maps or serialization. This is a problem because engineers implementing and reviewing solutions for memoization outside of React have to sink time into writing and creating a custom solution that may not be consistent with other places in the codebase. This leads to inconsistency, overhead, and at times sub-optimal solutions.
  • Number of stars in GH: 880
  • Number of monthly downloads: 222,725 weekly!
  • Number of releases in the last year: 5
  • Level of activity in the repo: 17 contributors, 313 deployments, 3 issues, 6 PRs
  • Alternatives: List of alternatives and benchmarks
  • Are security concerns brought up and addressed in the library's repo? No
  • How many dependencies does this lib use that will be brought into our code? At most 1 (It uses 2 deps: fast-equals and micro-memoize but fast-equals is already used, not sure about micro-memoize)
  • What will the effect be on the bundle size of our code? Bundlephobia report of current moize version
Issue OwnerCurrent Issue Owner: @puneetlath

Metadata

Metadata

Labels

AutoAssignerAppLibraryReviewAuto assign someone to review a new library being added to AppAwaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions