A snippet library which includes simple daily use snippets
-
Javascript(js)
-
Typescript(ts)
-
Javascriptreact(jsx)
-
Typescriptreact(tsx)
cl
- Console Logcls
- Console Log Stringclc
- Console Sectionfc
- functional Componentus
- functional Component with useStatefcp
- Arrow functional Component with Propsrace
- React functional Component Export
cl
- Console Log
console.log();
cls
- Console Log String
console.log("");
clc
- Console Log sections
console.log();
console.count();
console.table();
console.error();
console.info();
race
- React Arrow functional Component Export
import React from "react";
const FileName = () => {
return <></>;
};
export default FileName;
fc
- functional Component
const componentname = () => {
return <></>;
};
us
- functional Component with useState
const componentname = () => {
const [use, setUse] = useState(0);
return <></>;
};
fcp
- functional Component with Props
const ComponentName = ({ props }) => {
return <></>;
};