Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Combining ReactJS & WordPress

Combining ReactJS & WordPress

Seeing the trends and adoption craze of Modern JavaScripts all around the world, its necessary to learn it and put it in action! In this talk, we will discuss about a way to use one of the most powerful modern JS languages, REACT!

Tweet

More Decks by Ahmedabad WordPress Meetup

Other Decks in Technology

Transcript

  1. Overview • Why to learn React? • What is React?

    • Components • Important React Terms. #JSX #Babel #Webpack • Print “Hello World” in WordPress Backend using REACT • What else can we do by combining? • Pros • Cons • Resources
  2. 1

  3. 2

  4. 3

  5. Ahmedabad WordPress Meetup Steps’ Summary Step 1: Install Node in

    System Step 2: Create a setting page in WordPress Backend having <div id="root"></div>. Step 3: Create required files: package.json | webpack.config.json | .babelrc Step 4: Create Components: index.jsx | helloworld.jsx Step 5: Execute Commands: npm install | npm run dev Step 6: KHO!
  6. Ahmedabad WordPress Meetup Today’s Session Demo at GitHub https://github.com/faisal-alvi/basic-react-files-for-wordpress/ Boilerplate

    https://www.codementor.io/victorgerardtemprano/combining-reactjs-and-wordpress-idhdu0v7h Like videos? Go for: Learn React by Mosh Userful Articles https://www.cipherbright.com/blog/how-to-develop-wordpress-plugin-with-react/ https://wp-and-react.com/ https://snipcart.com/blog/reactjs-wordpress-rest-api-example/ React official documentation by React Beginners guide to React by Kent C. Dodds Fundamentals of React by Samer Buna Resources