James K Nelson
jamesknelson.com · Personal blog · on HN since 2015
James K Nelson writes React tutorials and opinion pieces on state, routing, Flux, Babel, and universal rendering.
What HN saysHN commenters recommend his Learn Raw React post as a good basic introduction to React that avoids JSX, Flux, and Webpack.
24HN people shared it
10linked it in comments
53stories submitted
359story points
5 years agolast shared
2015people per year2026
Most-shared posts
- 1Learn Raw React – No JSX, No Flux, No ES6, No Webpack11 people · 245 points · first shared 2015 · 58 comments on HN
- 2The 5 types of React application state4 people · 8 points · first shared 2016 · discussion on HN
- 3Why You Shouldn’t Style React Components with JavaScript4 people · 7 points · first shared 2015 · discussion on HN
- 4Which Flux Implementation Should I Use with React?2 people · 4 points · first shared 2015 · discussion on HN
- 5Are ES6 Promises swallowing your errors?2 people · 4 points · first shared 2015 · discussion on HN
- 6Push-state vs. Hash-based Routing2 people · 4 points · first shared 2015 · discussion on HN
- 7The Six Things You Need to Know About Babel 62 people · 2 points · first shared 2015 · discussion on HN
- 8Universal React: You’re doing it wrong2 people · 1 points · first shared 2016 · discussion on HN
- 9Ridiculously Simple React.js Forms – Without Flux, ES6, JSX, Libraries1 people · 11 points · first shared 2015 · 3 comments on HN
- 10React: it's technically backwards compatible!1 people · 7 points · first shared 2020 · 3 comments on HN
- 11Should I use React.createClass, ES6 Classes or stateless functional components?1 people · 6 points · first shared 2015 · 2 comments on HN
- 12Oin the Dark Side of the Flux: Responding to Actions with Actors1 people · 4 points · first shared 2015 · 1 comments on HN
- 13Using ES6 and ES7 in the Browser, with Babel 6 and Webpack1 people · 4 points · first shared 2015 · discussion on HN
- 14How I learned to stop worrying and love the JSX1 people · 4 points · first shared 2016 · discussion on HN
- 15How to deepen work relationships with a single question1 people · 4 points · first shared 2015 · 1 comments on HN
What HN people wrote when they linked it
acemarke · 2017-07-17
I can highly recommend anything written by James. His previous "Learn Raw React" post ( http://jamesknelson.com/learn-raw-react-no-jsx-flux-es6-webpack/ ) is one of my most frequently recommended articles for people who want to understand the basics of React without any buzzwords, and his new site builds on that approach with a bunch of interactive examples.
For anyone looking for more info past that, you may be interested in my React/Redux links list at https://github.com/markerikson/react-redux-links .
dceddia · 2016-01-27
This article was my first exposure to React, and it goes through the basics of building a very simple "list of people" using nothing more than a single HTML file. It doesn't even use JSX, instead showing you how to build the raw JS that the JSX would compile to. I found it to be a great introduction without a lot of overhead to learn.
http://jamesknelson.com/learn-raw-react-no-jsx-flux-es6-webpack/
larksimian · 2016-05-18
My suggestion is to go through some full-stack tutorials. Vary them up to learn how workflows with different library combinations/boilerplates feel for you.
For React my quick and dirty intro a few months ago involved: http://jamesknelson.com/learn-raw-react-no-jsx-flux-es6-webpack/ and then following along with http://teropa.info/blog/2015/09/10/full-stack-redux-tutorial.html
The first link is very light on dependencies and brief. The second link is basically a mini-ebook going from front-end to back-end but walks you through the choices very well.
What you want to do is build apps, so look for tutorials that make you build an app from start to finish. Do a number of those, semi-rotely, and you'll develop familiarity with the tools and methods they use. That's when you want to deep dive on specific libraries and stacks.
Imagine how complicated it would be to try to learn Rails by learning ActiveRecord and then ActiveSupport etc. The interesting work happens when all the dependencies are combined -- and the challenge/beauty of the framework is how it combines them -- not when they are taken as individual libraries. Boilerplates are shitty, immature frameworks but similar principles apply.
l1ambda · 2017-09-26
http://jamesknelson.com/learn-raw-react-no-jsx-flux-es6-webpack/
Looks like Mithril code (https://mithril.js.org/) if you alias React.createElement to a short function name.
I learned Mithril before React, and kinda think it's a better learning experience to learn the simple way like this first, and then add build tools, Redux, JSX later (if you choose to).
dsp1234 · 2016-07-26
I started with this tutorial[0] that covers react with no JSX, no Flux, no ES6, and no Webpack.
It is just a couple of script includes and normal html/javascript.
From that tutorial, I was able to understand exactly what react is. Then I started adding in the other items on top.
It's definitely not a boilerplate "site in 5 minutes", but it's also a lot less confusing when trying to learn what's going on underneath the hood with react.
[0] - http://jamesknelson.com/learn-raw-react-no-jsx-flux-es6-webpack/
dreen · 2016-04-10
Heres a nice intro to React that deals with JUST React, no JSX, no Webpack etc. I found it on HN the other day
http://jamesknelson.com/learn-raw-react-no-jsx-flux-es6-webpack/
firasd · 2016-04-10
Google has been saying that for years, but I don’t really believe it…
1) First there were the "hashbang" URLs, that Google said they'd crawl fine, but that did affect Gawker's SEO: http://www.webmonkey.com/2011/02/gawker-learns-the-hard-way-why-hash-b…
2) And instagram uses server rendering for SEO: https://twitter.com/cpojer/status/711729444323332096 (via http://jamesknelson.com/universal-react-youre-doing-it-wrong/)
scrollaway · 2016-03-12
You should learn React for one simple reason: It's quite definitely going to be huge. Well, that's what I was saying a year ago - it's fair to say now that it is already huge and it's likely to stick around for a long time (at least in JS years).
If you're involved in the JS scene, learning React will give you a big advantage. At which point you can decide whether you like it or not.
As for mixing JS and HTML, I went to a talk at last year's React Europe that beautifully explained why this isn't a concern. I had the same reservations at first, but I was convinced then. Suffice to say, give it a shot and see how you feel about it after (besides, jsx is optional).
Start here: http://jamesknelson.com/learn-raw-react-no-jsx-flux-es6-webpack/
Yaggo · 2016-03-02
Angular is harder for beginners because it has everything loaded. React has fewer consepts. When learning & for non-complex apps, you don't even need flux etc. extra stuff.
http://jamesknelson.com/learn-raw-react-no-jsx-flux-es6-webpack/