reactjs

React.js Unit Testing with Jest and Enzyme

· Reading time: ~3 minute(s) (524 words) programming javascript reactjs testing

I've written loads of unit tests in my lifetime for C# and JavaScript, but never gotten around to writing any for testing the actual React components because there's always been something more pressing. Time to put that right and take the plunge. (Continue reading)

Rendering an array of data as a clickable list using React.js

· Reading time: ~2 minute(s) (348 words) programming javascript reactjs

React.js is great for quickly rendering arrays of data in a tabular format, and there's loads of grid-like packages out there in npm, but sometimes you just need to hand-crank something yourself. Which is fine, until you want the row to be clickable... (Continue reading)

React.js Tutorials

· Reading time: ~1 minute(s) (135 words) programming javascript reactjs

I've created a few pages on here which are now growing into a bit of a tutorial, so thought I'd collate the links into one post (and append links to any new related posts in the future) so it's easier to follow. (Continue reading)

React.js Continued... State!

· Reading time: ~5 minute(s) (903 words) programming javascript reactjs

This time I'll be looking at State. What it is and how to use it... (Continue reading)

React.js Continued... Components!

· Reading time: ~5 minute(s) (900 words) programming javascript reactjs

It's time to continue on from my React.js Revisited post that I made a few days ago. This time we'll look at creating some components... (Continue reading)

React.js Revisited

· Reading time: ~7 minute(s) (1314 words) programming javascript reactjs

It's been a while since I wrote up my beginner guide to React.js and I've been thinking it's time to revisit it. (Continue reading)

npm package.json - Package From a Github Commit

· Reading time: ~2 minute(s) (283 words) programming javascript reactjs npm

Sometimes the version of an npm package has some functionality you want, but it has issues which break other stuff. What do you do? Pull the repo and build it yourself and shoehorn it in? (Continue reading)

JSX/ES6 Syntax Highlighting in Visual Studio 2015

· Reading time: ~3 minute(s) (538 words) programming javascript reactjs visualstudio

Visual Studio 2015 (by default) isn't exactly crash hot for editing JavaScript, especially JSX/ES6 for React etc. (Continue reading)