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

Getting started with React for WordPress Developers

Getting started with React for WordPress Developers

I gave my first WordCamp talk on "Getting started with React" at WC Kathmandu, Nepal 2017

It was a great experience.

Muhammad Adnan

May 20, 2017
Tweet

Other Decks in Programming

Transcript

  1. I am Muhammad Adnan Full Stack Developer, WordPress Hacker at

    @WPBrigade, WordPress Core Contributor, Google Summer of Coder, #phpMyAdmin Contributor and Dad. You can find me at adnan.pk Hello!
  2. What is React? React is a JavaScript library from Facebook

    and is especially used to create the interactive UIs. React will efficiently Update and render the right component when the data changes.
  3. Unidirectional Dataflow The data flows throughout your reactjs app in

    a single direction and you have better control over it. Also the application state is contained in specific components and as a result different components of your app remain loosely coupled.
  4. What is Declarative? Reactjs is declarative instead of being imperative,

    Simple example to understand imperative is Google navigation system, when we enter address, guide comes and let us know which steps we have to make to reach from place a to b. And declarative is that we have to reach from a to b, and it doesn’t matter how many steps we take to reach from a to b, but at the same time we know, how to move step by step.
  5. JSX JSX simply allows us to write HTML like syntax

    which (eventually) gets transformed to lightweight JavaScript objects.
  6. Resources ◉React docs by Facebook https://facebook.github.io/react/ ◉My React App https://github.com/hiddenpearls/wp-plugin-reviews-react

    ◉React Fundamentals https://reacttraining.com/online/react-fundamentals ◉https://reactforbeginners.com/ by Wesbos