Creation and Run React App | React js tutorial for beginners | React Js course

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

ความคิดเห็น • 4

  • @user-hr2vz5jm4q
    @user-hr2vz5jm4q 4 หลายเดือนก่อน +1

    Hi bro what is the difference between global installation and local installation for creating react project

    • @techbrosmedia
      @techbrosmedia  4 หลายเดือนก่อน

      In Node.js and React, local installation means installing the package/module within your project directory. This installation is specific to that project and won't affect other projects. Global installation, on the other hand, installs the package/module system-wide, making it available for use in any project on your system. However, it's generally recommended to install packages locally within each project to avoid potential conflicts and ensure project portability.

  • @user-hr2vz5jm4q
    @user-hr2vz5jm4q 4 หลายเดือนก่อน

    Every project we are installing node_modules it will take more space on system ( Local storage ) so my question is if we install the node_modules globally in our system how can we import in our different projects and then how can we use it

    • @techbrosmedia
      @techbrosmedia  4 หลายเดือนก่อน

      In Node.js and React, local installation means installing the package/module within your project directory. This installation is specific to that project and won't affect other projects. Global installation, on the other hand, installs the package/module system-wide, making it available for use in any project on your system. However, it's generally recommended to install packages locally within each project to avoid potential conflicts and ensure project portability.