React Redux es7 snippets - VS code snippets
Hi thank you for visiting our readme i gave all the information down with the user guide . this also have shows you how you can contribute to this extension thank you.
Features :
* Small and quick words
* User friendly
* small in size
* Almost everything you need
* More than 50 snippets
User Guide :
Import :
1 impo => import moduleName from 'module'
2 impon => import 'module'
3 impoe => import * as alias from 'module'
4 impoa => import { originalName as aliasName} from 'module'
Export :
1 expo => export default 'modulename
2 expod => export { } from 'module'
3 expoa => export { originalName as aliasName} from 'module'
React
1 impor => import React from 'react
2 impord => import ReactDOM from 'react-dom'
3 imporc => import React, { Component } from 'react'
4 imporb => import { BrowserRouter as Router} from 'react-router-dom'
5 imporr => import { Route } from 'react-router-dom'
6 imporrs => import { Switch } from 'react-router-dom'
7 imporrl => import { Link } from 'react-router-dom'
8 imporus => import React, { useState } from 'react'
9 imporue => import React, { useState, useEffect } from 'react'
Console log
1 colg => console.log(object)
2 colgt => console.time('timeId')
ReactComponents
1 recc => import React, { Component } from 'react'
export default class FileName extends Component {
render() {
return
$2
}
}
2 reface => import React from 'react'
const $1 = () => {
return
$0
}
export default $1
Conntributing :
You can feel free to pull request or contacting me through the below info i also gave the github repo for this.
Repo : https://github.com/Suryadevelops/react-redux-es7-snippets
Gmail : suryadevelops@gmail.com
IG : suryadeveloper
issues :
You can report us all the issues at the github. issues in issues of our repo https://github.com/Suryadevelops/react-redux-es7-snippets/issues