Skip to content

Clare Ivers

Menu

Clare Ivers

javascript

Enqueuing Scripts and Stylesheets on the WordPress Back End

Loading scripts and stylesheets on the WP backend - Featured Image

Wordpress uses different hooks to load scripts and stylesheets on the front and back ends. Here’s how to do it right.

clario December 16, 2022December 22, 2022 PHP, Wordpress No Comments Read more

Cloning Objects in JavaScript Part 2 – a deeper dive

Lego heads - deep cloning in Js. Photo by Hello I'm Nik on Unsplash

Normally when you create copies of objects in JS you end up with a shallow copy, where nested objects are copied by reference. Here’s how to make a deep clone.

clario May 31, 2022July 28, 2022 Coding, JavaScript, Tech No Comments Read more

Factory Functions in JavaScript – making more than one object

White Bay Power Station, Rozelle, Sydney

It’s pretty easy to make an object in JavaScript once you know the syntax, but if you want to make more than one of the same type of object, it’s better to do it from some kind of blueprint. This post is all about factory functions!

clario May 24, 2022July 28, 2022 Coding, JavaScript, Tech No Comments Read more

Object literals and terminology in JavaScript

An object is a collection of key-value pairs. To be useful, they should be logically related values. They can be created with object literal syntax, meaning that the key-value pairs are enclosed in curly braces and usually assigned to a

clario May 19, 2022July 28, 2022 Tech No Comments Read more

Adding Stack Navigation to React Native – Tutorial

In this post I’ll show you how to install React Navigation for React Native and to build a stack navigator. Come along for the ride, it’ll be fun!

clario May 14, 2022July 28, 2022 Tech No Comments Read more

Cloning Objects in JavaScript

Jam Cookies - Cloning objects in Javascript Featured Image - Photo by amirali mirhashemian on Unsplash

In Javascript, assigning an object to another variable won’t create a copy of that object. Here are 3 methods that will successfully clone a JS object.

clario May 6, 2022July 28, 2022 Coding, JavaScript, Tech No Comments Read more

Adding Navigation to React Native – Gettin’ Errors?

If you’ve set up a brand new React Native project, installed React Navigation, written a bit of code and you’re getting this error, it’s because you didn’t go back and read the documentation and you’ve forgotten that you need to

clario November 13, 2021July 28, 2022 Tech No Comments Read more
Copyright © 2025 Clare Ivers . All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.