Topic: react pro npm install
Ron Lepine pro asked 6 years ago
Jakub Strebeyko staff answered 6 years ago
Hi there Ron,
Thanks for reaching out! No, considering nature of MDB React PRO package, it is not provided "out there", downloadable via node. But, as you have correctly stated, it is an convenient way to incorporate the package (install it, if you prefer), once the it is already on the machine.
Well, to update the package, one has to get hold of the new code-base. Therefore, it shall need to be downloaded, that way or another - can't really imagine it being otherwise.
The issue seems to be caused by an outdated version of MDB package, that used to apply a string ref
to the Navbar - a practice being currently depreciated in the newest installments of React. Depending on your version, the issue may be easily solvable at node_modules/src/components/Navbar.js
. It is enough to make sure, that component's this.ref
does point at anything other than a string (or, best, in case of the newest React version, use React.createRef();
function). That way a whole package download can be avoided.
With Best Regards,
Kuba
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No