---
title: "Ozzie Neher (@ozziexsh) | Hashnode"
description: "Full Stack Dev. Read the latest articles by Ozzie Neher on Hashnode."
url: "https://hashnode.com/@ozziexsh"
---

@ozziexsh

# Ozzie Neher

@ozziexsh · Saskatoon, SK, Canada · Joined March 2016

Full Stack Dev

[Website](https://ozzie.sh/)

## Comments

[Thanks, I've updated the post to reflect this :)](https://hashnode.com/posts/passing-icons-as-props-in-a-consistent-way-using-react/6043b3ca8458d42fc821b3b2/comment/6064af9e574933157db93192#reply-6067349643f7713266913fd4)

Reply · Article · Apr 2, 2021 · [Passing icons as props in a consistent way using React](https://hashnode.com/posts/passing-icons-as-props-in-a-consistent-way-using-react/6043b3ca8458d42fc821b3b2)

[Yes thank you that is a great point!](https://hashnode.com/posts/passing-icons-as-props-in-a-consistent-way-using-react/6043b3ca8458d42fc821b3b2/comment/6044c1cf5a56f82fa3eccae1#reply-6045232a5a56f82fa3eccfd8)

Reply · Article · Mar 7, 2021 · [Passing icons as props in a consistent way using React](https://hashnode.com/posts/passing-icons-as-props-in-a-consistent-way-using-react/6043b3ca8458d42fc821b3b2)

[Interesting! I'd never heard of import type until your comment. The more ya know! https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export](https://hashnode.com/posts/props-with-children-react-typescript/6042741891eeac2b7aee83ba/comment/6042e05991eeac2b7aee885f#reply-6043afc95a56f82fa3ecbef7)

Reply · Article · Mar 6, 2021 · [An easier way to add types for "children" in React](https://hashnode.com/posts/props-with-children-react-typescript/6042741891eeac2b7aee83ba)

[It totally depends on your situation. Have low budget / tight deadline? It might make sense to use the prebuilt ones and save some time. Often when you make your own components like these, you spend 80% of the time maintaining them when that time could be spent actually working on app itself. But if the prebuilt solutions don't suit your business needs—or if you're doing this for fun / educational purposes—roll your own! It's a lot of fun to make your own and optimize them for your use case, plus the added benefit of knowing everything inside out and being able to add features as you need them.](https://hashnode.com/forums/thread/adding-another-dependency-or-implementing/comment/5a3d231f91da8e7a4d3adbed)

Comment · Thread · Dec 22, 2017 · 2 · [Adding another dependency or Implementing?](https://hashnode.com/forums/thread/adding-another-dependency-or-implementing)

[I hope to see functional programming languages continue to rise. Mastering Elixir/Phoenix Framework are on my to-do list for 2018](https://hashnode.com/forums/thread/2018-tech-stack-to-look-forward/comment/5a392d10e04982977b1446c7)

Comment · Thread · Dec 19, 2017 · 2 · [2018 Tech stack to look forward](https://hashnode.com/forums/thread/2018-tech-stack-to-look-forward)

[Interesting that they picked 4 front-end frameworks and then just threw Ruby in there.](https://hashnode.com/forums/thread/technology-trends-in-2017-5-frameworks-for-the-future-agriya-blog/comment/58f77585e1eb1bd4e45f0548)

Comment · Thread · Apr 19, 2017 · [Technology trends in 2017: 5 Frameworks for the Future - Agriya Blog](https://hashnode.com/forums/thread/technology-trends-in-2017-5-frameworks-for-the-future-agriya-blog)

[This should do the trick var React = require('react'); function MyComponent(props, context) { return ( <div> {props.message} </div> ); } MyComponent.propTypes = { message: React.PropTypes.string }; MyComponent.defaultProps = { message: 'Hello!' }; module.exports = MyComponent;](https://hashnode.com/forums/thread/how-to-use-default-props-and-prop-types-in-es5-stateless-component-examples-please/comment/58d2afcfcfc5bd6596a07e7e)

Comment · Thread · Mar 22, 2017 · 1 · [How to use default props, and prop types in ES5 stateless component? Examples please?](https://hashnode.com/forums/thread/how-to-use-default-props-and-prop-types-in-es5-stateless-component-examples-please)

[You could also do a "zero'd" out graph (a graph with the values at 0) so that you still have the dimensions/intentions of setting a graph but then have like a 50% transparent overlay over the empty drawn graph with a message about no data.](https://hashnode.com/forums/thread/what-is-the-best-way-to-differentiate-between-a-loading-and-a-no-data-state/comment/58d128d5c500c68c7521df40#reply-58d157ef730afd14d0aacf89)

Reply · Thread · Mar 21, 2017 · 2 · [What is the best way to differentiate between a loading and a no data state?](https://hashnode.com/forums/thread/what-is-the-best-way-to-differentiate-between-a-loading-and-a-no-data-state)

[Ah, immutability. Where to even begin. Why do we want immutability? Immutability severely reduces bugs in your code by limiting any outside modifications that you did not intend. All objects in JavaScript are mutated via reference. Meaning if you do this: var obj = { greeting: 'Hello!' } function someHelperFunction() { obj.greeting = 'Hola' } someHelperfunction(); console.log(obj.greeting) // Hola Even though someHelperFunction() doesn't own the obj variable, it can still mutate it's property and it will be reflected anywhere that obj is used. Immutability is a concept taken from functional programming languages. Instead of mutating the object's value, it uses functions to create a new object, modify that one, and return the resulting new object. Immutable mutations always return a copy of the previous object. Let's take a functional approach to the above example. var obj = { greeting: 'Hello!' } var obj2 = obj function someHelperFunction(object) { var copy = { ...object } copy.greeting = 'Hola' return copy } obj = someHelperFunction(obj) console.log(obj.greeting) // Hola console.log(obj2.greeting) // Hello! So this has a lot going on here but you can see we already have gained so many positive things. Let's break it down: We removed the side effect from someHelperFunction. We turned it into a pure function which owns all of its state (no modifications to global vars). It makes a copy of the inputted object as to not modify the reference (using ES2015 object spread). It modifies the new object, and then returns it. We can see exactly where obj changed, because we are reassigning its value via that function. In the first example, if it were a bigger codebase, we'd have to search through all of the code trying to find out where our variable is being mutated without us directly assigning it. Another benefit added here was that we assigned obj2 equal to obj. If we had just mutated obj directly, our obj2 values all would have updated as well. This functional approach eliminated that side effect and now they both have their intended values. This is just a bonus but pure functions are so easy to test. Given the same input, this function will return the same output every single time. Anyway, it's late and I'm exhausted but I love talking about this topic so I thought I'd chime in. If this doesn't answer your question or is crazy hard to follow I'll come back in the morning and update it.](https://hashnode.com/forums/thread/why-should-i-use-immutablejs-in-my-current-web-application/comment/5877035e6b985e96ec6d47e2)

Comment · Thread · Jan 12, 2017 · 6 · [Why should I use ImmutableJS in my current web application?](https://hashnode.com/forums/thread/why-should-i-use-immutablejs-in-my-current-web-application)

[If you're going to be diving into react, give axios a try](https://hashnode.com/forums/thread/im-still-new-to-ajax-have-learned-how-to-use-it-with-vanilla-js-so-far-wondering-if-learning-how-to-do-ajax-with-jquery-is-beneficial-or-just-sticking-with-vanilla-js-is-fine-i-also-plan-on-learning-react-very-soon-so-yea-any-thoughts-would-be-a/comment/58741fb7cb9eada57fdc4d98)

Comment · Thread · Jan 9, 2017 · 1 · [Im still new to AJAX, have learned how to use it with vanilla JS so far. wondering if learning how to do AJAX with JQuery is beneficial or just sticking with vanilla JS is fine? I also plan on learning React very soon so yea.. any thoughts would be a](https://hashnode.com/forums/thread/im-still-new-to-ajax-have-learned-how-to-use-it-with-vanilla-js-so-far-wondering-if-learning-how-to-do-ajax-with-jquery-is-beneficial-or-just-sticking-with-vanilla-js-is-fine-i-also-plan-on-learning-react-very-soon-so-yea-any-thoughts-would-be-a)
