مدونتنا

هنا يمكنك أن تجد جميع مقالاتنا ، واستمتع!

Introducing JSX

Introducing JSX

It is called JSX, and it is a syntax extension to JavaScript.

Andre Johnson
Andre Johnson
Rendering Elements

Rendering Elements

Unlike browser DOM elements, React elements are plain objects, and are cheap to create.

Madeleine Moser
Madeleine Moser
Goharbar farm and nursery in local news TV channel

Goharbar farm and nursery in local news TV channel

Goharbar farm and nursery in local news TV channel

Ehsan Davarynejad
Ehsan Davarynejad
Forwarding Refs

Forwarding Refs

This is typically not necessary for most components in the application.

Andre Johnson
Andre Johnson
Lifting State Up

Lifting State Up

Every update goes through the same steps so the inputs stay in sync.

Madeleine Moser
Madeleine Moser
Code-Splitting

Code-Splitting

Bundling is great, but as your app grows, your bundle will grow too.

Madeleine Moser
Madeleine Moser
Handling Events

Handling Events

Handling events with React elements is very similar to handling events on DOM elements.

Madeleine Moser
Madeleine Moser
Composition vs Inheritance

Composition vs Inheritance

Sometimes we think about components as being “special cases” of other components.

Madeleine Moser
Madeleine Moser
Conditional Rendering

Conditional Rendering

You can use variables to store elements. This can help you conditionally render a part of the component while the rest of the output doesn’t change.

Andre Johnson
Andre Johnson
Components and Props

Components and Props

They accept arbitrary inputs and return React elements describing what should appear on the screen.

Madeleine Moser
Madeleine Moser

We provide premium nursery stock

along with technology-led garden consultancy and design services to both private and public sector organisations large and small.

صُنع باستخدام React و Gatsby و DatoCMS بواسطةsmastrom

ساهم أو نجمة على GitHub