GithubHelp home page GithubHelp logo

react_chrome_extension's Introduction

Hi! I'm Henry a software developer. Most of what I do revolves around Javascript and Dart, but that doesn't mean I am less open to other tech stacks. Nowadays I spend most of my time doing front-end and android app development, mostly with Flutter, React and its ecosystem.

Professional Experience

Front-end Developer, OnlineJobs | Feb / 2023โ€Š - Present

Front-end Developer, Cybranding Ltd | Dec / 2013โ€Š - Jan / 2023 (9 years)

Maintains and creates new feauters for the SaaS app using Ruby on Rails and React. Setup and manage Node.js background workers.

Web Developer, Osomnimedia Web Design Studio | Nov / 2008 - Sept / 2013 (4 years)

Develop various features and integrations for the ShopSite platform (front-end and product search optimization) and manage product banners and inventory.

Personal Projects

Technical Skills

  • Next.js
  • Node.js
  • Flutter
  • Ruby on Rails
  • Docker

react_chrome_extension's People

Contributors

ihenvyr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react_chrome_extension's Issues

Running contentscript on webpack-dev-server

My current development process (using this toolkit) involves the following

  1. Keep running "webpack --mode development --watch"
  2. Make a change on the codebase
  3. Wait for webpack to rebuild the new output
  4. Go to chrome://extensions/ page
  5. Pressing the refresh button on the extension
  6. Refresh a live webpage to see the content script ui. (I have made it autoload after any web page loads for quick testing)

Just noticed how tiring and slow this whole process is...

So I did the following to try to run the contentscript on localhost:

  1. Installed "webpack-dev-server"

  2. Added the configuration below on webpack.config.js


devServer: {
    contentBase: path.join(__dirname, 'build'),
    port: 9999,
    writeToDisk: true
  }

  1. Ran 'webpack-dev-server' on my console
  2. Go to http://localhost:9999
  3. Clicked on content.html

Too bad - the content script ui didnt load... no errors on my console either...
What could I be doing wrong?

Cannot use the string "option"

When I use a string with the word "option" the code fails to run.

This version with "optios" logs but wont work because the options page is "options.html"...

Screen Shot 2020-05-30 at 7 46 10 PM

This version with "options" does not log

Screen Shot 2020-05-30 at 7 45 29 PM

Why cant I see logs?

Good work here.

I am trying to get an idea of the flow of operations on this extension. So I added a bunch of console.logs throughout the js files on the root folder.

When I right click on the popup and "Inspect Popup" I only see logs on entry.popup.js and actions.js.

Would you know why the others are not logging or briefly explain the flow?
Thanks!
Screen Shot 2020-05-11 at 8 59 20 AM

Choosing between dependencies and devDependencies on package.json

Any good reason why you have react on "dependencies" but redux on "devDependencies" on your package.json?
Correct me if im wrong - they could work in either places since the production build is done on your local machine anyways...

Whats included in the production crx file is determined by what you add to the "entry.vendor" tag on webpack.config.prod.js so it doesnt matter whether you included them under "dependencies" or "devDependencies".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.