๐ŸŒ AIๆœ็ดข & ไปฃ็† ไธป้กต
Skip to content

imranhsayed/react-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

72 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

React Workshop

๐Ÿ”ฅ This is a workshop for learning how to build React Application

******* PLEASE STAR MY REPO TO SUPPORT MY WORK ๐Ÿ™ ******

Please follow me ๐Ÿ™ on twitter and github to stay updated with new content

๐Ÿ“น App Demo

๐Ÿ“น React Developer Tools (Chrome Extension) Demo

๐Ÿ“น Live Search Demo

๐Ÿ“น Mmenu Navigation

Before you Start

I've branched the repo for individual topics.

To see all branches run: git branch --all.

To checkout to individual branch run: git checkout <branch name>. Then check its README.md . From there on you should be good.

Branch Info

Day 1:

  1. โ„๏ธ 01-add-react-in-a-min : Create a react app in a minute ๐Ÿ• using React Scripts
  2. ๐Ÿš€ 01-create-react-app : Create a React application using create-react-app
  3. ๐Ÿ“ฆ 01-react-app-parcel : Create a React application using parcel
  4. ๐ŸŽ 01-react-app-webpack : Set up React application with using Webpack and Babel

Day 2:

  1. ๐ŸŽ‹ 02-component-types : Types of Components : Class & Functional Components

  2. ๐Ÿ’ซ 02-jsx-examples : Examples of JSX

  3. โ›„ 02-state-and-props : Examples for Component State and Props

  4. ๐ŸŒพ 02-hierarchical-components Demo for Parent & Child Component, with state and props.

  5. ๐ŸŽŒ 02-handling-routes Handling routes using @reach/router

  6. ๐ŸŒพ 02-get-derived-state-from-props Example for Component Lifecycle method: getDerivedStateFromProps, constructor, forceUpdate

  7. ๐Ÿ“‹ 02-handling-forms Handling forms in react

Day 3:

  1. ๐Ÿ“ฆ 03-react-application-example Example for creating React Application with Header Footer Navbar, Display Posts by fetching data from

  2. โ›„ 03-react-app-example2 Example for Adding New posts using when the form is submitted. and api and Handling forms

  3. ๐Ÿ’ซ 03-active-links Example for Active links using Reach router.

  4. ๐ŸŒฒ 03-higher-order-component Higher Order Component Example

  5. ๐Ÿ’ฆ 03-pure-component Pure Components Example

  6. ๐Ÿ“ 03-react-memo React memo example

  7. โžก๏ธ 03-refs React's Refs example

  8. ๐ŸŒด 03-context React Context example

React Hooks

  1. โžก๏ธ react-hooks React Hooks

Miscellaneous:

  1. ๐Ÿ”Ž live-search-react Realtime search on typing using react and axios. Includes pagination( Onchange Input ).
  2. ๐Ÿ“ฑ mmenu-react-app Mobile menu Sidebar using Burger Menu

Installation

  1. Clone this repo in git clone https://github.com/imranhsayed/react-workshop
  2. cd react-workshop
  3. git checkout branch-name
  4. npm install

You can see the branches and their details listed above.

Instructions

Please follow the README for individual repositories

Common Commands

  • dev Runs webpack dev server for development ( in watch mode )
  • prod Runs webpack in production mode

Workshop Gallery ๐ŸŒ„

  1. Pictures
  2. MeetUp

Tutorial Videos ๐ŸŽฅ

  1. React Tutorial Series
  2. React Hooks Series

FAQs

  1. How to pass a parameter in a event handler?
const handleRemoveProductClick = ( event, productId ) => {
        console.warn( 'Clicked productId', productId );
    };
return(
    <button onClick={ ( event ) => handleRemoveProductClick( event, item.productId )  }>Item</button>
)

Useful Blogs

  1. SetUp React App with Webpack and Babel

Social Links

  1. Twitter

License

License