---
title: "Discussion on \"What is the size impact of importing multiple methods from date-fns\" | Hashnode"
description: "Discussion on \"What is the size impact of importing multiple methods from date-fns\". In this article, I'll look at application size with multiple methods imported from date-fns. In the previous benchmark attempt, I was only using 1 method from each library. date-fns, as the only one built with tree-shaking in mind, enjoyed an advanta..."
url: "https://hashnode.com/posts/what-is-the-size-impact-of-importing-multiple-methods-from-date-fns/610b8bc56a61354c8ab77856"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What is the size impact of importing multiple methods from date-fns](https://how-to.dev/what-is-the-size-impact-of-importing-multiple-methods-from-date-fns?utm_source=hashnode&utm_medium=feed)

In this article, I'll look at application size with multiple methods imported from date-fns. In the previous benchmark attempt, I was only using 1 method from each library. date-fns, as the only one built with tree-shaking in mind, enjoyed an advanta...

Aug 5, 2021 · 2 min read · how-to.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Marcin Wosinek](https://hashnode.com/@marcin-wosinek)

@marcin-wosinek · Valencia, Spain

  
[View profile](https://hashnode.com/@marcin-wosinek)

JavaScript developer

I'm JS developer with 13 years of professional experience. I'm always happy to teach my craft.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
