Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Consistently import React modules #19

Open
mauricekleine opened this issue Feb 8, 2019 · 2 comments
Open

Consistently import React modules #19

mauricekleine opened this issue Feb 8, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@mauricekleine
Copy link
Contributor

Sometimes we use:

import React from "react";

class SomeComponent extends React.Component {}

and sometimes we use:

import React, { Component } from "react";

class SomeComponent extends Component {}

We should enforce consistent import of React modules.

@mauricekleine mauricekleine added the enhancement New feature or request label Feb 8, 2019
@jukben
Copy link
Contributor

jukben commented Feb 8, 2019

I like the idea. If you wanna give it a go we can sync later today and you can try to tackle it. 👍

@mauricekleine
Copy link
Contributor Author

@jukben sounds perfect! What about at the end of the day? I have sync until 5.30 but after that I'm your man 🤙

@jukben jukben closed this as completed Aug 6, 2019
@jukben jukben reopened this Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants