Have you worked on a project and find yourself writing code like this?
import { AddBank } from '../../../../pages/add-bank-account'
As projects g...
For further actions, you may consider blocking this person and/or reporting abuse
Impressive boss up!
I can tell Deno guys are getting nervous...
Hahaa, I can feel them shaking in their boots.
But isn’t Deno just Node, I haven’t taken a deep dive, but I assume this would work in Deno too.
Deno ditches the
package.json
, so the local packages discoverability affected. For now, importing subfolder modules will remain inconvenient.For more info:
github.com/denoland/deno_website2/...
Yep! It works. Deno was made to take NodeJS to a more advance level, but not to degrade it. Ryan Dahl has worked very efficiently on Deno. And I think it will be supported by many companies soo after its stable releases.
Do you mind showing us how it works in Deno?
It's Not the correct ⌚
I currently don't have Deno setup in my PC, and I don't even bother to. I would once when the release become quite stable and it would be the correct time to ditch NodeJS. Till then, STAY HOME STAY SAFE!
See ya!
Seems good! But I knew about it earlier.
That’s great, Boss man. 🚀
I’m curious, How often do you use this approach? Have you found any drawback or issues with it?
Not much! But I do use it when I work on my own projects. Because this method isn't quite popular, I can't use it at work. My office BOSS = 💩
😂😂
I would say, show him this article to backup your argument, but we prolly don’t want him to see this comment. 😀
🤣😂🤣 for sure my friend.
Nice one! Does the
-S
option is required?Thanks!
-S
is not required as npm autosaves dependencies from v5.Cool idea man!! Awesome!
Thanks a lot, Julian.
Do you see yourself using it in your projects?
I don't usually get hit by that problem but I will surely keep it in mind and use it when I'm facing this in the future
Nice one
Thanks @treasurechic . Let me know if you’ll be trying this is your projects.
It's look like it's not possible to do with yarn…