Комментарии:
very helpful thank you
ОтветитьSo useful
ОтветитьWhen I tried to npm run build Error: error:0308010C:digital envelope routines::unsupported I cant fix this error
ОтветитьThanks❤😊
ОтветитьFinally!! THX :)))
ОтветитьDude, it was fast, clean and to-the-point! thanks!
ОтветитьI do react but I still don't know babel and webpack. do we need them to create an package
Ответитьthanks my brother! this help me a lot!!!
ОтветитьThank You So much...Really helped a lot
ОтветитьIs there a particular order that needs to be followed when executing these commands? Because, I tried the same, but i am getting "Invalid Hook Error"
Ответитьthank you so much
Ответитьgracias!! sos un genio
ОтветитьWhat if there is Java code for native Android component? How do we include Java code into npm package too? I meant in React Native, not simply React.
ОтветитьGreat tutorial man, Thanks it helped me alot.
ОтветитьHey, Thanks for the tutorial. Straight forward and quick!
Ответитьthanks alot this was really helpful :)
ОтветитьThank You!
ОтветитьHey Yurko, ty for the video!
Can you pls explain why do we have to link react from application/node_modules and is there any way to avoid it?
how to create package react application as jar?
ОтветитьI faced a small error. Had to include peerDepedencies in modules package.json file.
"peerDependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
Awesome , thanks very helpful for me
ОтветитьI am getting error : Uncaught ReferenceError: React is not defined. What to do in such case?
ОтветитьThank you dude!!! from Hyderabad, India. God Bless you
ОтветитьThanks you so much for this tutorial man. I'm still really new to react and npm, so I mostly followed along. I still need to study this stuff in depth, but with your help, I was able to publish my first useful npm package!
Thanks again from your 18th subscriber. 😉👍
Can I do this with whole react app (App.js) and its components and dependencies?
ОтветитьMy Question is That when i Develope React library than is it any platform where i Publish Library except Npm bcz if publish in Npm than Library Files also visible in Application and i dont want to show any file.
Just tell me any platform or way .
I shall be very thankful to you.
Thanks
Thankyou! Amazing and short video!
It worked! I followed all the steps and I published some react components.
When I try to import my component into another project, I get the following error
// importing as follows
import ComponentName from "package-name"
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
My entrypoint component is exported as default (export default ComponentName). I am not sure why this is happening
Thanks!
ОтветитьTo avoid any future error I believe you should also install @babel/plugin-proposal-class-properties and edit your .babelrc file like so
npm install @babel/plugin-proposal-class-properties --save-dev
.babelrc
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
I've done this but getting module not found error
ОтветитьThanks
ОтветитьDoesn`t work
ОтветитьThx. Will try it
ОтветитьI have love for your skills brother... hope you continue making helpful videos like this! You got a new subscriber :)
ОтветитьThanks, nice tutorial
ОтветитьIt's saved my time :)
ОтветитьThanks mate, really helped!!!
ОтветитьGood job!
Ответить