javascript
React.js Unit Testing with Jest and Enzyme
· Reading time: ~3 minute(s) (524 words) programming javascript reactjs testingI'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)
Map() support in JavaScript ES6/ES2015
· Reading time: ~2 minute(s) (329 words) programming javascriptECMAScript 6/2015 has brought a lot of new things to the world of JavaScript, and Map() is one of them. However, not all browsers are too keen on particular ways of using it... (Continue reading)
Rendering an array of data as a clickable list using React.js
· Reading time: ~2 minute(s) (348 words) programming javascript reactjsReact.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 reactjsI'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 reactjsThis 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 reactjsIt'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 reactjsIt'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 npmSometimes 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)