Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>@xxtereshko/snippetsNew to Visual Studio Code? Get it now.
@xxtereshko/snippets

@xxtereshko/snippets

Maxim Tereshko

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

xxtereshko-snippets

cl

console.log("$1 =>", $1)

rf

type T$1Props = {}

export const $1 = ({}: T$1Props) => {
  return $0
}

rfe

type T$1Props = {}

const $1 = ({}: T$1Props) => {
  return $0
}

export default $1

us

const [$1, set$1] = useState($2)

ue

useEffect(() => {
  $0
}, [$1])

uer

useEffect(() => {
  $2

  return () => {
    $3
  }
}, [$1])

ule

useLayoutEffect(() => {
  $2
}, [$1])

uler

useLayoutEffect(() => {
  $2

  return () => {
    $3
  }
}, [$1])

ha

const $1 = ($2) => {
  $0
}

dob

const { $2 } = $1

dar

const [$2] = $1

sti

setInterval(() => {
  $2
}, $1)

sto

setTimeout(() => {
  $2
}, $1)

stb

import { ComponentMeta, ComponentStory } from '@storybook/react-native'

const Meta: ComponentMeta<typeof ${1}> = {
  title: '2;1',
  component: ${}
  args: {},
}

export default Meta

type T${1:}Story = ComponentStory<typeof ${1:}>

export const Default: T${1:}Story = args => <${1:} {...args} />
}



Enjoy! ❤️

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