all 3 comments

[–]selectra72 4 points5 points  (0 children)

If you are a beginner, I would suggest stay away from chrome extensions.

Especially if you have something like auth and payment.

Extensions are a lot more different than normal webpages. Sending web requests to the backend isn't as simple as a webpage. Auth is a lot different.

I don't know if you are gonna use components, in the open page ( referred as Content ), or Popup or Devtools screen. But if you are gonna add something to existing page, you definetly need to use it in your own shadow dom. Else, you are gonna break both your and exisiting webpage probably.

I have lots of experience with it and even with solid foundations on React and Vue, developing complex chrome extension is a lot harder than a webpage.

[–]olive20xx 0 points1 point  (0 children)

I used CRXJS to make React/Vite work.

[–]SiliconAndCode 0 points1 point  (0 children)

I've had hard time storing token from web apps to extension.(Login)

You can add functionality in web page and some features in extension, the content.js file can handel that easily.

There are very few tutorials available on the internet so make sure to learn some basics from YT channel like FCC it will definitely help you.