I mean for is-odd/is-even your probably able to do it without it with minimal lines of code, but like just because array-includes and array-flatten aren't as important due to the new features Arrays have doesn't mean you should mark it as useless and try to make a joke out of those who download it. I don't understand how your comment works for store2 because that seems to have a lot of features and convenience which you probably can't replicate "without these packages with some minimal lines of code", and for ismobilejs I don't know much exactly how complex it is to detect if its on a mobile device or not, but it sure seems like its not something you could do with some minimal lines of code.
I believe store2 is just a feature friendly package of a combination of localstorage and sessionstorage.
I believe any developer can achieve these all tasks
And yet you still use NPM packages. Everything is just for convenience. Devs could do everything themselves, but they don't! Why bother reinventing the wheel?
I mean yeah you could use localStorage and sessionStorage without store2, but store2 still adds convenience that some people may like for their project, so you shouldn't go and just try to make a joke out of those people saying they are using a useless package. If you look at the README for store2, it adds some features that help you write cleaner code, like with the transact feature, without having to re-invent the wheel.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I mean for
is-odd
/is-even
your probably able to do it without it with minimal lines of code, but like just becausearray-includes
andarray-flatten
aren't as important due to the new features Arrays have doesn't mean you should mark it as useless and try to make a joke out of those who download it. I don't understand how your comment works forstore2
because that seems to have a lot of features and convenience which you probably can't replicate "without these packages with some minimal lines of code", and forismobilejs
I don't know much exactly how complex it is to detect if its on a mobile device or not, but it sure seems like its not something you could do with some minimal lines of code.I believe store2 is just a feature friendly package of a combination of localstorage and sessionstorage.
I believe any developer can achieve these all tasks
And yet you still use NPM packages. Everything is just for convenience. Devs could do everything themselves, but they don't! Why bother reinventing the wheel?
I mean yeah you could use
localStorage
andsessionStorage
withoutstore2
, butstore2
still adds convenience that some people may like for their project, so you shouldn't go and just try to make a joke out of those people saying they are using a useless package. If you look at theREADME
forstore2
, it adds some features that help you write cleaner code, like with thetransact
feature, without having to re-invent the wheel.