✅ – echoloid – 13-55 Mar 15
May I know,
How the statement
import {react} from "react"
Able to find the actual react module present in the node_modules without using any absolute path like
'../node_modules/react'
G
ghardin137•402d ago
basically that's built into node. there's a specific search pattern it uses when the import doesn't contain a path indicator
E
echoloid•402d ago
So it's actually doing the file search like as in regular expressions, or via the grep, sed to find the appropriate file internally...
✅
UU
Unknown User•401d ago
230KMembers
View on DiscordMore Posts
echoloid – 02-56 Mar 15I recently enrolled into an intensive bootcamp curriculum for MERN,
I have spent the past 1year stu✅ – dmikester1 – 19-47 Mar 14I have 2 objects with the same keys. I want to combine the objects into a single array of objects.
✅ – Ygg – 22-32 Mar 8Hello, I'm using a `FreeCompanyContext` to use some variables across my website
One of then is using