Skip to content

Instantly share code, notes, and snippets.

View ereztdev's full-sized avatar
🏠
Working from home

ErezT ereztdev

🏠
Working from home
View GitHub Profile
@ereztdev
ereztdev / Intellij Live Template for React + Redux
Last active April 8, 2018 10:03
PHPStorm / WEBStorm Live Template React Functional Component & React Redux Container Component (with mapStateToProps && mapDispatchToProps)
//isn't it tiring to write the same component but can't really copy paste for each place?
//Just use a code template as your boilerplate and change whatever you need, here is your starter:
//Functional component:
import React, { Component } from 'react';
class $NAME extends Component {
render() {
return (