{"id":15287591,"url":"https://github.com/infeng/vscode-react-typescript","last_synced_at":"2025-04-13T05:38:04.224Z","repository":{"id":57394114,"uuid":"81524815","full_name":"infeng/vscode-react-typescript","owner":"infeng","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-17T03:40:40.000Z","size":49,"stargazers_count":40,"open_issues_count":4,"forks_count":42,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T22:12:34.107Z","etag":null,"topics":["react","typescript","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-10T04:03:07.000Z","updated_at":"2024-09-12T09:51:37.000Z","dependencies_parsed_at":"2022-09-26T17:00:43.697Z","dependency_job_id":null,"html_url":"https://github.com/infeng/vscode-react-typescript","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infeng%2Fvscode-react-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infeng%2Fvscode-react-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infeng%2Fvscode-react-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infeng%2Fvscode-react-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infeng","download_url":"https://codeload.github.com/infeng/vscode-react-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262136,"owners_count":21074251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react","typescript","vscode","vscode-extension"],"created_at":"2024-09-30T15:32:20.806Z","updated_at":"2025-04-13T05:38:04.094Z","avatar_url":"https://github.com/infeng.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode-react-typescript\n\n-------------------\n\nThis extension contains code snippets for React with Typescript.\n\n## Installation\n\nIn order to install an extension you need to launch the Command Pallete (Ctrl + Shift + P or Cmd + Shift + P) and type Extensions.\nThere you have either the option to show the already installed snippets or install new ones.\n\nLaunch VS Code Quick Open (Ctrl + P or Cmd + P), paste the following command, and press enter.\n\n`ext install vscode-react-typescript`\n\nAlternatively you can open the extensions panel and search for 'Typescript React code snippets'.\n\n## Supported languages (file extensions)\n\n* TypeScript (.ts)\n* TypeScript React (.tsx)\n\n## Snippets\n\nBelow is a list of all available snippets and the triggers of each one. The **⇥** means the `TAB` key.\n\n| Trigger  | Content |\n| -------: | ------- |\n| `tsrcc→` | `class component skeleton` |\n| `tsrcfull→` | `class component skeleton with Props, State, and constructor` |\n| `tsrcjc→`| `class component skeleton without import and default export lines` |\n| `tsrpcc→`| `class purecomponent skeleton` |\n| `tsrpcjc→` | `class purecomponent without import and default export lines` |\n| `tsrpfc` | `pure function component skeleton` |\n| `tsdrpfc` | `stateless functional component with default export` |\n| `tsrsfc` | `stateless functional component` |\n| `conc→`  | `class default constructor with props and context` |\n| `cwm→`   | `componentWillMount method` |\n| `ren→`   | `render method` |\n| `cdm→`   | `componentDidMount method` |\n| `cwrp→`   | `componentWillReceiveProps method` |\n| `scu→`   | `shouldComponentUpdate method` |\n| `cwu→`  | `componentWillUpdate method` |\n| `cdu→`  | `componentDidUpdate method` |\n| `cwum→`  | `componentWillUnmount method` |\n| `gdsfp→` | `getDerivedStateFromProps method` |\n| `gsbu` | `getSnapshotBeforeUpdate method` |\n| `sst→`   | `this.setState with object as parameter` |\n| `bnd→`   | `binds the this of method inside the constructor` |\n| `met→`   | `simple method` |\n| `tscntr→` | `react redux container skeleton` |\n| `imt`    |  `create a import` |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfeng%2Fvscode-react-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfeng%2Fvscode-react-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfeng%2Fvscode-react-typescript/lists"}