3 More Amazing NPM Utility Libraries

preview_player
Показать описание

🌎 Find Me Here:

#Shorts
Рекомендации по теме
Комментарии
Автор

Whoa! That Just Library looks like something that deserves it's own video.

busyrand
Автор

Node fetch is actually better than axios. You get the same experience everywhere. Although many would disagree, fetch is kinda awesome when considering AJAX and XHR

tharunrajoptimus
Автор

You can wrap fetch to fit your use cases in utility functions

SlickSmack
Автор

6 exercises left till my full stack cert 😁

aroncanapa
Автор

just-merge is just a copy of Object.assign({}, ...objects)

Could write that whole library in one line

boem
Автор

Axios is a bit of a weird spot right now as some JS frameworks are extending native fetch and doing things like caching

alext
Автор

Im not going to load a 200kb axios for a thing that i can save using a sample callback.

joinodestry
Автор

Making API requests is a PITA in REACT, in Angular with RxJS subscribe it's easy AF. And the syntax is even more clear.

Daijyobanai
Автор

Installing an entire library just to get a wrapper function around fetching data..Make your own.
You don't want (or need) to have a dedicated package for every single functionality of your code.

modernkennnern
Автор

Can you make a video on rating javascript libraries

shadowstar
Автор

I think it's easier to just wrap your fetch in an async function inside a helpers script and provide your headers there

thatsalot
Автор

Tbh idk why would someone use axios. You can create a simple wrapper function or a service with your gets/post. Bloating your project is not worth it

fueledbycoffee
Автор

Can you do a video on making an image request API? For example modifying a base photo by putting some text and a profile picture over it and then returning that new image

raspy_mha_fan
Автор

Before choosing a JavaScript library, I check all I'm considering on Bundlephobia and go with the smallest that meets my requirements.

komakaze
Автор

This npm craze has to be toned down a bit. I created a simple function to minimize the extra procedures when using fetch api. I ended up deleting all axios calls: my simple function was a lot better and tweakable: and I got to save a ton of space and unnecessary lines of code for something relatively simple.

benotisanchez
Автор

What is the font style being used ? It looks really good 😌

asiddharthraosoma
Автор

using a library for something that can be done with a small amount of boilerplate code seems highly overkill and not worth the cost at all

among-us-
Автор

I would prefer use snippet instead of axios

yokowasis
Автор

Please dont:
- use axios - fetch these times is so good of an abstraction, that using axios is not needed anymore. just write your own few lines on top of fetch and youll be good (it even has now support it new versions of node, so you dont need to install anything :))
- use just (or ramda or lodash) - utility function libraries provide unnecessary overhead to your codebase, also from my experience youre just ok with clean JS, no need to bloat youre code and force your colleagues into learning another library. use map, filter, reduce, flatMap, … whatever you like. theyre typed, theyre standardized and will do the job.

marekhradil
Автор

I still don't see a value of using axios.
Nice videos though, in general.

Chrosam