Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for React 18 Snippets - I need your help ❤️
Kristiyan Velkov
Kristiyan Velkov

Posted on • Edited on

     

React 18 Snippets - I need your help ❤️

Hello, folks.

I'm thrilled to announce that I've developed a fantastic new VS Code extension calledReact 18 Snippets. It's designed to greatly enhance your productivity and save you valuable time.❤️

I saw many snippets for React, but they don't support new features in React 18, so I decide to create my own and to share it to the public.

Image description


HELP

This VS code extension is for you guys. Please, support! ❤️

So, to be able to improve the extension, please:

  1. Download it from VS code workspaceLink or directly in VS code. 😊
  2. If you find something that can be improved, comment here.💪
  3. If you want to join as a contributor, please contact me.🔥

Don't forget to add a review if you like the extensionLINK

Image description


List of snippets for React JS version 18

SnippetRenders
riImport React
ridom ImportReactDOM
riustateImport React, { useState }
riustateueffectImport React, { useState, useEffect }
riprototypeImport PropTypes
rfcFunctional Component
rafcArrow Functional Component
rcustomhookCustom Hook
racustomhookCustom Hook (Arrow)
rueffectuseEffect Hook
rustateuseState Hook
rucontextuseContext Hook
rurefuseRef Hook
rumemouseMemo Hook
rucallbackuseCallback Hook
rudebugvalueuseDebugValue Hook
rudeferredvalueuseDeferredValue Hook
ruiduseId Hook
rulayouteffectuseLayoutEffect Hook
rureduceruseReducer Hook
rutransitionuseTransition Hook
rrenderrender
rfragmentFragment
rfragmentkeyFragment with key prop
rprofilerProfiler
rstrictStrictMode
rsuspenseSuspense
rforwardrefforwardRef
rlazylazy
rstartTransitionstartTransition
rmemomemo
rrootCreate Root
rhandlehandle function
rahandlehandle arrow function
rcontextproviderContext Provider

Developer Support:❤️

  • If you saw some issue/bug 🐛 related to the specific release version.
  • If you want some new feature or change to be added/implemented. 😊

Please, contact the creator of theReact 18 Snippets, so he will be able to fix or improve it:

Image description

linkedin

portfolio


Image description

Support my work

If you like my work and want to support me to work hard, please donate via:

Revolut website payment or use the QR code above.

Thanks a bunch for supporting me! It means a LOT 😍


Top comments(1)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
kristiyanvelkov profile image
Kristiyan Velkov
Front-end Advocate || Mentor || Leader || Blogger || Book Author
  • Location
    Bulgaria, Sofia
  • Education
    Law
  • Work
    Tech Lead | JavaScript Domain knowledge lead
  • Joined

SHARE your favorite React JS Snippets 💻

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Front-end Advocate || Mentor || Leader || Blogger || Book Author
  • Location
    Bulgaria, Sofia
  • Education
    Law
  • Work
    Tech Lead | JavaScript Domain knowledge lead
  • Joined

More fromKristiyan Velkov

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp