Skip to content
This repository was archived by the owner on Dec 25, 2021. It is now read-only.

Latest commit

Β 

History

History
52 lines (41 loc) Β· 2.44 KB

File metadata and controls

52 lines (41 loc) Β· 2.44 KB

Complete React snippets to use in your workflow

This snippet is being created

A complete ReactJS and Native snippet to use.

Easy shortcuts to help and expedite your code development. To be more easy we put a check on the table with all snippets and were (native or JS) its work.

For React Native the snippets is after - like rc - rnc (rnc is for React Native)

Features

Snippet Description ReactJS Native
rc - rnc Create a stateful Component βœ” βœ”
rsc- rnsc Create a stateless Component βœ” βœ”
rfc - rnfc Create a functional Component βœ” βœ”
rfhc - rnfhc React Hooks Stateful Component βœ” βœ”
rrc - rnrc Create ReactJS Stateful Redux Component βœ” βœ”
rrsc - rnrsc Create ReactJS Stateless Redux Component βœ” βœ”
mapstatetoprops Create Redux method mapStateToProps βœ” βœ”
mapdispatchtoprops Create Redux method mapDispatchToProps βœ” βœ”
cdm componentDidMount() βœ” βœ”
scu shouldComponentUpdate() βœ” βœ”
cdu componentDidUpdate() βœ” βœ”
cwu componentWillUnmount() βœ” βœ”
cwu [DEPRECATED] componentWillUpdate() βœ” βœ”
cwm [DEPRECATED] componentWillMount() βœ” βœ”
cwrp [DEPRECATED] componentWillReceiveProps() βœ” βœ”

Add all snippets here

Requirements

Visual Studio Code: ^1.29.0

Features

  • Styled-Components
  • Redux
  • React Router
  • React Navigation
  • TypeScript Support

Release Notes