Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we use 'Region' in in typescript react code?

I am looking for how to use Region in .tsx code while using Visual studio code. In editor the intelisense shows //#region and //#endregion (might be due to some extension such as ES7 React/Redux/... or ESLint) but after placing it in code it gives errors.

Can someone know how to use that?

like image 802
Praneet Rane Avatar asked Jun 10 '26 19:06

Praneet Rane


1 Answers

you can do it.

// #region fields

somecode...

// #endregion
like image 59
NEXUS.ニートプログラマ千葉 Avatar answered Jun 13 '26 15:06

NEXUS.ニートプログラマ千葉



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!