-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
📖Update to use FC and not SFC #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hey, that improvement looks cool! Please remember about: https://github.com/piotrwitek/react-redux-typescript-guide/blob/master/CONTRIBUTING.md I can lend a hand during weekend with rebuilding generated code for examples etc. |
Hey @piotrwitek, I tried to run the changes through the contributing guideline stages over the weekend, but had some issues. they are just deprecated at the moment, but still work. Would be good to update this guide though as a lot of people use this resource. You can see that this guide uses |
Got it, the reason I'm asking is I was trying it like a few days ago and I'll try again |
cool, let me know 👍🏼 |
OK, checked and working fine. One more thing, could you please change all instances of "Stateful components" to "Class components"? As of now this distinction will make more sense. |
README.md
Outdated
|
||
#### - stateless counter | ||
#### - functional counter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
functional counter is a bit confusing name, let's name it "counter component"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, sounds good. I just changed it as stateless is no longer the term being used. are you happy for me to do it in this PR, as I said I was having issues with the instructions in the contributing guidelines - it wasn't working 😯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea sure.
Could you also post what was the issue with contributing guide as I would like to fix that.
Thanks
Thanks. Did you install dependencies with |
I am using npm v 6.4.1 |
Have you tried to |
thanks @piotrwitek good work |
@Pau1fitz Thanks for the initial work! I wanted to retain your contribution but when I squashed and merged the PR github didn't honored it. Sorry for that I will need to check some guide how to do it properly next time. |
will have to make another PR 😁🤓 |
DefinitelyTyped/DefinitelyTyped#30364