graphql / dataloader

DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a consistent API over various backends and reduce requests to those backends via batching and caching.
MIT License
12.89k stars 515 forks source link

refactor: replace var statements with const or let statements #335

Closed shogo-nakano-desu closed 1 year ago

shogo-nakano-desu commented 1 year ago

Description

As title says, replace all var statements with const or let statements to gain benefits from block scope and function scope which are introduced in ES6.