Skip to content

Conversation

@sosukesuzuki
Copy link
Contributor

resolve #120

@sosukesuzuki sosukesuzuki changed the title Add use state example Add useState example Jan 26, 2019
Copy link
Owner

@piotrwitek piotrwitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one little change

README.md Outdated
```tsx
import * as React from 'react';

interface CounterProps {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use type Props from now on for new components, I'll be refactoring all existing one to that too

@sosukesuzuki
Copy link
Contributor Author

@piotrwitek I fixed according to your review! please confirm!:pray:

Copy link
Owner

@piotrwitek piotrwitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks great, merging 🎉

@piotrwitek piotrwitek merged commit 38ccf55 into piotrwitek:master Jan 26, 2019
piotrwitek pushed a commit that referenced this pull request Feb 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add examples for another hooks?

2 participants