What to do after following the official React tutorial?
My suggestion is RTFM! (React docs)
It’s not sexy, it’s not appealing but it’s like medicine: you’ll not like it, but it will make you feel good.
I know what you’re thinking: “I don’t need the manual. Show me some code, show me how to make a todo list and I’ll figure out the rest”.
I’ve been there: what you’ll end up with is a collection of pieces and you’ll miss the big picture.
Try it the other way around: read all the documentation (it’s not that big) and then follow the tutorials. You don’t need to read it thoroughly: a fast read, just to know the keywords.
In this way, you’ll know that
componentDidMount is not some custom-named method, but it’s part of the Component lifecycle.
Or you’ll understand the reason why there is an
className attribute and not a
In short: you’ll have something that will help you to connect the dots, and everything will be clearer.
Just take your time to read the documentation, it will be worth it.
Cover image: Learning to swim
I have not given to much attention to React as everyone else. I was in love with Backbone and Marionette.js at the time and “My views are fine, thank you. I don’t need yet another view library!”.
So these will be a series of posts, mainly for myself, for documenting my reaction to the React hype. I will post about resources, articles, and tutorials about React and its environment.
I like to start from the beginning when learning something. So I thought that the official React site would be a good first step.
Play around with the interactive home page, and then head to the tutorial. It should take one hour or two depending on how much you read the documentation. I suggest you to do so, as it will help you build a “glossary” (JSX? Component? props? state?)
After that, Thinking in React will give you a good approach to building things with React.
I think that this will be more than enough for the first day or two.
See you next time!
Cover Image: Learning to swim