Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Astrea-react-snippetsNew to Visual Studio Code? Get it now.
Astrea-react-snippets

Astrea-react-snippets

aurum-software

|
224 installs
| (1) | Free
Astrea snippets for React and React Native
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

astrea-react-snippets README

React and Javascript snippets for Astrea

Features

aupt: Create and import prop types with component name

auptd: Create and import prop types and default props with component name

auin: index.js file boilerplate for components

Tests

aut: Test archetype for react component

autws: Test archetype (without props) for react component

auts:Test archetype for react component with custom store

aunt: Test archetype for react native component

aunts: Test archetype for react native component with custom store

auit: Test function with a setup

auat: Async test function with a setup

auitgbt: Test function with a setup and a expect using getByText function

auatgbt: Async test function with a setup and a expect using getByText function

auact: Act function

auactfc: Act function with click fire event

auch: Custom react hook

aucmod: Confirmation modal

React native

ctlg: Reactotron console.log

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft