JOHNNY JI

class MyBlog extends JohnnyJi {

get blogPosts() {
return {

Jun 27, 2016: // If you’ve ever experienced performance issues whilst using React.js, it’s likely because your React components are needlessly re-rendering. Luckily, React...

Mar 3, 2016: // Over the past little bit I’ve had troubles with optimization in React. I’ve begun to notice that the more complex...

Dec 23, 2015: // I can’t believe it’s been almost 4 month since I’ve made a post. These past 4 3 and a half...

Sep 8, 2015: // I love apps that remember who I am and redirects me to certain pages on load, depending on if I’m...

Aug 26, 2015: // I’ve been using Reflux for the past while now and up until recently, whenever I needed to make an API...

Aug 24, 2015: // One of the troubles that I’m sure every developer has run into is how to get the perfect sticky footer...

Aug 13, 2015: // Today has been a pretty awesome day for me. I had the chance to fully dive into setting up a...

Aug 13, 2015: // Transitioning React components to ES6 isn’t all different and seemed to have flowed quite nicely, until I learnt that I...

Jul 29, 2015: // Recently I’ve been getting into optimizing database structure and queries for performance in Rails. One major thing that’s gone over...

Jul 27, 2015: // The difference between includes and joins has always eluded me a little bit when it came to ActiveRecord queries. I...

Jul 25, 2015: // Today I attended NodeSchoolYVR over at the Zillow headquarters in Yaletown, Vancouver; and man was it the best programming experience...

Jun 26, 2015: // Okay, maybe blasphemy is a bit of a harsh word; but seriously, avoid setting state from props at all cost...

Jun 24, 2015: // Currently in one my project, I ran into an interesting association problem that I’d previously not dealt with before. Which...

Jun 23, 2015: // One of the hardest and most annoying things I find time and time again whenever I begin a new rails...

Jun 21, 2015: // React is an amazing library, no doubt about it. But every library has it’s own quirks that make us all...

Jun 20, 2015: // I’m usually not the type to talk about sentimental things because I think it’s weird; but I’m always up for...

Jun 18, 2015: // Recently I’ve had to restructure our company’s API, and part of that was writing new request specs for everything.One HUGE...

Jun 16, 2015: // Before we begin. A helpful note is to set config.use_transactional_fixtures = true in your spec helper. I found that when...

Jun 13, 2015: // One of the headaches I had with React was trying to figure out a general function that could update any...

Jun 11, 2015: // So today I understood the difference between a 401 and 403 HTTP status code. Which is commonly mistaken for the...

Jun 11, 2015: // So up until now I’ve always tried to use em whenever possible for sizing fonts and other things alike. However,...

May 19, 2015: // It’s by convention, awful practice to be performing business logic within your controllers.Logic should always be stored in some type...

Apr 29, 2015: // Today’s topic that peaked my inheritance was Single Table Inheritance, which is having multiple models inherit their attributes from a...

Apr 29, 2015: // I’ve by far hated forms that have labels because I think they look tacky and take up extra space for...

Apr 23, 2015: // So I’ve been using position: absolute; for about as long as I can rememeber, but today I can say I...

Apr 22, 2015: // In ActiveRecord, you can add something called :scope to your validations, which simply means validate an object WITHIN the scope...

Apr 19, 2015: // Upon accident, I found the eval method in Ruby. To my understanding, this method will be able to take a...

Apr 18, 2015: // So I’ve been playing around with ActiveRecord validation errors and I think I’ve found the ideal way I want to...

Apr 16, 2015: // Morning lecture time here at Lighthouse Labs, and I’ve found the solution to one of the more annoying problems I’ve...

Apr 10, 2015: // This post will be somewhat conceptual but equally as important as any of the other ones. It’s 2 weeks into...

Apr 8, 2015: // RSpec stubs and mocks create instances of not yet existing objects on the fly and give them non-existent methods which...

Apr 2, 2015: // LambdaWhen you instantiate a lambda within a method, the lambda will perform it’s function in coherence with the method. So...

Apr 1, 2015: // After programming in Ruby for about 2 good months I am ashamed to say that I had no idea just...

}
}
}