#react101 search results

No results for "#react101"

Master React with React 101: A Beginner's Guide! Learn from basics to advanced topics with tutorials and examples. Elevate your coding skills now! #React101 #codingtutorials #learntocode #coding101 #ReactLearning

web_shakti77755's tweet image. Master React with React 101: A Beginner's Guide! Learn from basics to advanced topics with tutorials and examples.
Elevate your coding skills now! 

#React101 #codingtutorials #learntocode #coding101 #ReactLearning

➡️ Forms: Capture user input 📝 ➡️ React Router: Navigating in apps 🛤️ Start your React journey now! Happy coding! 💻🎉✅✅👩‍💻 #ReactBeginnerTips #React101 #BeginnerDev


let's start with the basics. React is a JavaScript library for building user interfaces. It helps you create reusable UI components and efficiently manage state changes in your app. #React101 #programming #javascript #FrontEnd


1️⃣ Starting with the Basics: I'm diving into React by mastering the fundamentals. Understanding components, state, props, and JSX syntax is crucial to building awesome applications. Let's get started! #ReactBasics #React101 #React #FrontEndDeveloper


npx create-react-app will simply bootstrap the react project with all the required dependencies. Great way to get started with a new React project. it need Node >= 10.16 and npm >= 5.6 in the machine A ton of thanks to all the contributors #reactjs #CodeNewbie #react101


How do #React hooks work under the hood? This thread will explain the basics very simply in a few mins. You'll learn why you can't change the order of hook calls and understand more about React's underlying data structures. 👇 #React101 #javascript #CodeNewbies #100DaysOfCode


📕 Rules of hooks 📕 (1/2) For hooks to work correctly, you must follow these rules: 1. Only call hooks at the 'top level' of your component (not inside conditions or loops) 2. Only call hooks from React function components or a 'custom hook' #React101 #React


⚡ useEffect ⚡ (1/2) With classes, effects (fetching data etc.) are defined by when they happen. useEffect() is about what the effect does. By default it runs after EVERY render. You can pass an array of dependencies as the 2nd arg to only run it when they change. #React101

josh_carvel's tweet image. ⚡ useEffect ⚡ (1/2)

With classes, effects (fetching data etc.) are defined by when they happen.

useEffect() is about what the effect does. By default it runs after EVERY render. You can pass an array of dependencies as the 2nd arg to only run it when they change.

#React101

⭐ useState ⭐ (1/2) In classes, state and the method to update it both live on your component. With useState, both live in React's code instead. You 'hook' into React's functionality to get the state value and update it: it's separate from your component. #React101 #React

josh_carvel's tweet image. ⭐ useState ⭐ (1/2)

In classes, state and the method to update it both live on your component. With useState, both live in React's code instead. 

You 'hook' into React's functionality to get the state value and update it: it's separate from your component. 

#React101 #React

This week I'll explain the basics of #React hooks 🔥 Hooks is a relatively new API/pattern in React that lets you use function components as a full alternative to class components. Many people prefer the cleaner syntax & flexibility it allows. #React101 #CodeNewbies #javascript


Con respeto a hoy... 🤓 Di una charlita en #ConnectDayMobileEdition 🙈 Stream de #React101 con @reactcba 🚀 Nuevo episodio de @nolotesteamos 🐬 Primeras pruebas de video y edición para futuros proyectitos 🙈 Listo, hoy o me mato o termino MUY ebrio.

🚨 Como bien saben... Parte de nuestro staff @bochap_ y @sanchez_ata hoy estuvieron dando charlas en el #ConnectDayMobileEdition... 🙈 Por eso no salimos hoy... PERO, no solo de dar charlas vive el hombre... 🖖🏼 Ya agarramos la pala, y esta listo para ser publicado hoy a las 20h

nolomedia's tweet image. 🚨 Como bien saben... Parte de nuestro staff @bochap_ y @sanchez_ata hoy estuvieron dando charlas en el #ConnectDayMobileEdition...

🙈 Por eso no salimos hoy... PERO, no solo de dar charlas vive el hombre...

🖖🏼 Ya agarramos la pala, y esta listo para ser publicado hoy a las 20h


In #React, elements can represent HTML elements or components, or they can be a fragment. It's a container for returning sibling elements with no parent element. Use React.Fragment if you need a key, otherwise you can use an empty JSX tag. #React101 #CodeNewbies #100DaysOfCode

josh_carvel's tweet image. In #React, elements can represent HTML elements or components, or they can be a fragment.

It's a container for returning sibling elements with no parent element. Use React.Fragment if you need a key, otherwise you can use an empty JSX tag.

#React101 #CodeNewbies #100DaysOfCode

Buen... Estamos en linea! :D Sumate a nuestro Workshop de #React101 desde @reactcba twitch.tv/reactcba


I read the #React101 thread, its very informative.👍 I will also take a look at other threads. Good job!


Let's look at how #React actually renders & updates elements (thread). Each React element object has a 'children' property that can contain other elements (provided in 3rd arg of React.createElement()), so you're linking them in a tree structure when you create them. #React101


Though React uses a 'synthetic event' object, this will rarely make a difference to you. You can deal with this event object much like you would deal with the native browser event object. #React101


Basics of #reactjs - Fundamental elements, some building blocks explained. #react101 #reactBasics #learnReact #React codesandbox.io/s/0qly7qz570

shreerangp's tweet image. Basics of #reactjs - Fundamental elements, some building blocks explained. #react101 #reactBasics #learnReact #React 
codesandbox.io/s/0qly7qz570

⭐ useState ⭐ (1/2) In classes, state and the method to update it both live on your component. With useState, both live in React's code instead. You 'hook' into React's functionality to get the state value and update it: it's separate from your component. #React101 #React

josh_carvel's tweet image. ⭐ useState ⭐ (1/2)

In classes, state and the method to update it both live on your component. With useState, both live in React's code instead. 

You 'hook' into React's functionality to get the state value and update it: it's separate from your component. 

#React101 #React

To render an element you call ReactDOM.render() with 2 arguments: element, and container (where it's going in document). You can use the DOM API to get the container - usually a DOM element you've assigned a specific id to in your HTML file. #React101

josh_carvel's tweet image. To render an element you call ReactDOM.render() with 2 arguments: element, and container (where it's going in document). 

You can use the DOM API to get the container - usually a DOM element you've assigned a specific id to in your HTML file.

#React101

⚡ useEffect ⚡ (1/2) With classes, effects (fetching data etc.) are defined by when they happen. useEffect() is about what the effect does. By default it runs after EVERY render. You can pass an array of dependencies as the 2nd arg to only run it when they change. #React101

josh_carvel's tweet image. ⚡ useEffect ⚡ (1/2)

With classes, effects (fetching data etc.) are defined by when they happen.

useEffect() is about what the effect does. By default it runs after EVERY render. You can pass an array of dependencies as the 2nd arg to only run it when they change.

#React101

Note that the JS parser always treats a line break after a return as the end of the line of code. This would happen if we returned multi-line JSX from a component on a new line. Due to this, the standard formatting is to use parentheses to allow the line to continue. #React101

josh_carvel's tweet image. Note that the JS parser always treats a line break after a return as the end of the line of code. This would happen if we returned multi-line JSX from a component on a new line. 

Due to this, the standard formatting is to use parentheses to allow the line to continue.

#React101

JSX content will by default be treated as a string, but using curly braces is the JSX syntax for using a JavaScript expression instead. You can use this to render dynamic (changing) data & to render it based on certain conditions, i.e. conditional rendering. #React101

josh_carvel's tweet image. JSX content will by default be treated as a string, but using curly braces is the JSX syntax for using a JavaScript expression instead. 

You can use this to render dynamic (changing) data & to render it based on certain conditions, i.e. conditional rendering.

#React101

The 2nd param of React.createElement() is for element properties ('props'). It's a JS object, so write HTML attributes in camelCase & use className instead of class (class is a JS keyword). The JSX syntax is like HTML attributes, but with curly braces for expressions. #React101

josh_carvel's tweet image. The 2nd param of React.createElement() is for element properties ('props'). It's a JS object, so write HTML attributes in camelCase & use className instead of class (class is a JS keyword).

The JSX syntax is like HTML attributes, but with curly braces for expressions.

#React101

If a JSX tag doesn't start with a lowercase letter, the element type arg passed to React.createElement() is a function (or class) name. We can define a function with that name & React will call it with the props object as the arg. This is a 'component'. #React101

josh_carvel's tweet image. If a JSX tag doesn't start with a lowercase letter, the element type arg passed to React.createElement() is a function (or class) name.

We can define a function with that name & React will call it with the props object as the arg. This is a 'component'.

#React101

In a React app you need to respond to user events. Event listeners can be added as props to React elements. These are React's replications of browser event listeners. We only define the handler function, not call it - React will call it when the event occurs. #React101

josh_carvel's tweet image. In a React app you need to respond to user events. Event listeners can be added as props to React elements. These are React's replications of browser event listeners.

We only define the handler function, not call it - React will call it when the event occurs.

#React101

Nesting child elements is done via the 3rd parameter of React.createElement(). You can add another createElement() call or multiple for sibling elements (so it actually takes >3 args). There's an easier way to write this: JSX, an extension to JS that is like XML/HTML. #React101

josh_carvel's tweet image. Nesting child elements is done via the 3rd parameter of React.createElement(). You can add another createElement() call or multiple for sibling elements (so it actually takes >3 args).

There's an easier way to write this: JSX, an extension to JS that is like XML/HTML.

#React101

Creating React elements is handled by React.createElement(), which has 3 parameters: type (usually an HTML element or 'component'), properties (HTML attributes or custom 'props') & children (text or nested elements). You import React to access it (ES6 feature). #React101

josh_carvel's tweet image. Creating React elements is handled by React.createElement(), which has 3 parameters: type (usually an HTML element or 'component'), properties (HTML attributes or custom 'props') & children (text or nested elements).

You import React to access it (ES6 feature).

#React101

In #React, elements can represent HTML elements or components, or they can be a fragment. It's a container for returning sibling elements with no parent element. Use React.Fragment if you need a key, otherwise you can use an empty JSX tag. #React101 #CodeNewbies #100DaysOfCode

josh_carvel's tweet image. In #React, elements can represent HTML elements or components, or they can be a fragment.

It's a container for returning sibling elements with no parent element. Use React.Fragment if you need a key, otherwise you can use an empty JSX tag.

#React101 #CodeNewbies #100DaysOfCode

Master React with React 101: A Beginner's Guide! Learn from basics to advanced topics with tutorials and examples. Elevate your coding skills now! #React101 #codingtutorials #learntocode #coding101 #ReactLearning

web_shakti77755's tweet image. Master React with React 101: A Beginner's Guide! Learn from basics to advanced topics with tutorials and examples.
Elevate your coding skills now! 

#React101 #codingtutorials #learntocode #coding101 #ReactLearning

Note that the style attribute is handled differently in React - instead of a string it takes a JS object with camelCased CSS properties & string or number values. This is for efficiency, security & consistency with the DOM style object. See: reactjs.org/docs/dom-eleme… #React101

josh_carvel's tweet image. Note that the style attribute is handled differently in React - instead of a string it takes a JS object with camelCased CSS properties & string or number values.

This is for efficiency, security & consistency with the DOM style object. 

See: reactjs.org/docs/dom-eleme…

#React101

Loading...

Something went wrong.


Something went wrong.


United States Trends