-1
I wonder if there is a shortcut in Vscode to automatically create the structure of a type component:
const { render } = require("react-dom");
import React from 'react';
import Time from './Time';
import Partida from './Partida';
export default class PlacarContainer extends React.Component {
render() {
return (
);
}
}
You can create your own snippets to do this. See vscode documentation to learn more.
– Luiz Felipe
Look for Rocketseat snippets in the extensions tab, they’re working on it for a while and they’ve got a lot of stuff ready.
– Shinforinpola