Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(useFetch): remove unnecessary spread operator in iterable conversion #3660

Merged
merged 2 commits into from
Feb 20, 2024

Commits on Dec 16, 2023

  1. fix(useFetch): remove unnecessary spread operator in iterable conversion

    `Object.fromEntries` accepts an iterable, so it's unnecessary to convert the iterable to an array.
    
    ```
    let arr = ["3", 325, {a:2}]
    Object.fromEntries([...headers.entries()])
    Object.fromEntries(headers.entries())
    ```
    
    Both give the same results
    BlackCrowxyz committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    48ee977 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Configuration menu
    Copy the full SHA
    1435653 View commit details
    Browse the repository at this point in the history