GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - reactpatterns/reactpatterns: React patterns & techniques to use in development for React Developer ⚛ .

BranchesTags
Open more actions menu

Latest commit

 

History

150 Commits
150 Commits

Folders and files

NameName
Last commit message
Last commit date
pages
pages
 
 
static/images
static/images
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 

Repository files navigation

⭐️ If you like reactpatterns, give it a star! ⭐️

React Patterns

A curated list of React Patterns

React patterns & techniques to use in development for React Developer.

Patterns

  • Proxy Component

  • Make the API Call in componentDidMount()

  • Stateless Function (Presentational Component)

  • Functional setState (Pass a function to setState)

  • Higher-Order Function

  • Higher-Order Component

  • Accessing a Child Component

  • JSX Spread Attributes

  • Render Callback

  • Function as Child Component

  • Function as Prop Component

  • Component Injection

  • Conditional Rendering

    • If Else
    • Ternary Operation
    • Logical && Operator
    • Switch Case Operator
    • Conditional Rendering with Enum
    • Multi Level Conditional Rendering
    • With Higher Order Component
    • External Templating Component
  • Destructuring

    • Basic Destructuring
    • Destructuring Function Argument
    • Nested Destructuring
    • Destructuring Rest/Spread Operator
  • Promises Over Callbacks

  • Stateful Component (Container Component)

  • State Hoisting

  • shouldComponentUpdate Avoid Heavy re-renders

  • Controlled and Uncontrolled Input

  • PureComponent Avoid Heavy re-renders

Anti Patterns

  • Initializing the State Using Props

  • Using Indexes as a Key

  • Spreading Props on DOM Elements

  • Mutating the state

Experimental

  • Suspense for Data Fetching

  • Concurrent UI

Contributing

We'd love to have your helping hand on contributions to reactpatterns by forking and sending a pull request!

Your contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)

License

The MIT License License: MIT

About

React patterns & techniques to use in development for React Developer ⚛ .

reactpatterns.js.org

Topics

anti-patternsbest-practisesbestpracticesdata-flowdesign-patternsjavascriptjspatternsreactreact-nativereact-patternsreact-techniquesreactjsreactpatternstechniquestips-and-tricks

Resources

Readme
MIT license
Activity
Custom properties

Stars

592 stars

Watchers

12 watching

Forks

37 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.