All Projects → JoanClaret → react-fundamentals

JoanClaret / react-fundamentals

Licence: other
React fundamentals

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to react-fundamentals

React Workshop
⚒ 🚧 This is a workshop for learning how to build React Applications
Stars: ✭ 114 (+660%)
Mutual labels:  react-components, props
React Scope
Visualize your React components as you interact with your application.
Stars: ✭ 316 (+2006.67%)
Mutual labels:  react-components, props
Learn React App
Application that will help you learn React fundamentals. Install this application locally - there's tutorial, code snippets and exercises. The main objective of this project is to help you get off the ground with React!
Stars: ✭ 3,364 (+22326.67%)
Mutual labels:  exercise, react-fundamentals
React Border Wrapper
A wrapper for placing elements along div borders.
Stars: ✭ 147 (+880%)
Mutual labels:  react-components, props
react-use-hubspot-form
Embed HubSpot forms into your React components using hooks! Works with Create React App, Gatsby and other platforms.
Stars: ✭ 41 (+173.33%)
Mutual labels:  react-components
paragon
💎 An accessible, theme-ready design system built for learning applications and Open edX.
Stars: ✭ 85 (+466.67%)
Mutual labels:  react-components
theia-workshop
Theia Workshop - Building Cloud and Desktop IDEs
Stars: ✭ 38 (+153.33%)
Mutual labels:  exercise
xsim
eXercise Sheets IMproved
Stars: ✭ 57 (+280%)
Mutual labels:  exercise
boilerplate-react-redux-pwa
It's sample boilerplate with pwa + react + redux + redux-saga
Stars: ✭ 14 (-6.67%)
Mutual labels:  react-components
OFLessons
Exercises used by my openFramework course which I teach in Brussels.
Stars: ✭ 49 (+226.67%)
Mutual labels:  exercise
lighthouse
Lighthouse is a continuous design system for integrating design with development workflows.
Stars: ✭ 25 (+66.67%)
Mutual labels:  react-components
awesome-web-react
🚀 Awesome Web Based React 🚀 Develop online with React!
Stars: ✭ 31 (+106.67%)
Mutual labels:  react-components
next-qrcode
React hooks for generating QRCode for your next React apps.
Stars: ✭ 87 (+480%)
Mutual labels:  react-components
sha-el-design
React components for easier customization and smooth development flow.
Stars: ✭ 33 (+120%)
Mutual labels:  react-components
quarkify
An awesome lightweight React UI Component library
Stars: ✭ 79 (+426.67%)
Mutual labels:  react-components
react-native-boilerplate
A collection of curated and well maintained React Native boilerplates with various possibilities and combinations.
Stars: ✭ 24 (+60%)
Mutual labels:  react-components
PythonExercises
Exercises for Python beginners
Stars: ✭ 24 (+60%)
Mutual labels:  exercise
React-Netflix-Clone
A Fully Responsive clone of Netflix website built using React.JS as a Front-end & Firebase as a Back-end.
Stars: ✭ 91 (+506.67%)
Mutual labels:  react-components
react-ui-components
React UI Components (npm @assenti/rui-components)
Stars: ✭ 21 (+40%)
Mutual labels:  react-components
feeel
A cross-platform Flutter home workout app that respects your privacy. THIS IS A GITLAB MIRROR, file issues and contribute there.
Stars: ✭ 27 (+80%)
Mutual labels:  exercise

React fundamentals

Exercises of react fundamentals.

Getting started

$ git clone https://github.com/JoanClaret/react-fundamentals.git
$ cd react-fundamentals
$ npm install
$ npm start
$ open http://localhost:3333/

Examples:

01 - Setup

Example code

02 - Building a simple component

Example code

03 - Component properties

Setting properties in your React components.

Example code - Documentation

04 - Child properties

When you're building your React components, you'll probably want to access child properties of the markup.

Example code - Documentation

05 - Component state

State is used for properties on a component that will change, versus static properties that are passed in. This lesson will introduce you to taking input within your React components.

Example code - Documentation

06 - Owner ownee relationship

The owner-ownee relationship is used to designate a parent-child relationship with React components as it differs from the DOM relationship.

Example code - Documentation

07 - Toggle Class

Using State to toggle class in a component

Example code

08 - Toggle Class between components

Toggle class between componets

Example code

09 - Using refs

When you are using React components you need to be able to access specific references to individual components. This is done by defining a ref.

Example code - Documentation

10 - Sending values between components

Sending a value from component to component without using refs

Example code

11 - Mounting - unmounting

React components have a lifecycle, and you are able to access specific phases of that lifecycle. This lesson will introduce mounting and unmounting of your React components.

Example code - Documentation

12 - Higer order components

Higher order components will allow you to apply behaviors to multiple React components.

Example code - Documentation

13 - Filter list

In React, application data flows unidirectionally via the state and props objects, as opposed to the two-way binding of libraries like Angular. This means that, in a multi component heirachy, a common parent component should manage the state and pass it down the chain via props. Your state should be updated using the setState method to ensure that a UI refresh will occur, if necessary. The resulting values should be passed down to child components using attributes that are accessible in said children via this.props. See this example that shows this concept in practice

Example code - Documentation

### 14 - Routing React Router keeps your UI in sync with the URL. It has a simple API with powerful features like lazy code loading, dynamic route matching, and location transition handling built right in. Make the URL your first thought, not an after-thought.

Dev dependencies:
Install "react-router" npm package as dependency: npm i react-router --save

Example code - Documentation

Switching between exercises

Once you has executed the "Getting started" commands, edit main.js file and uncomment the import line of the exercise you want to preview in the browser:

// import App from './exercises/01-Setup';
import App from './exercises/02-Component';

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].