A Look Into React Hooks

Nick Brown Articles, JavaScript, React, Single-Page Application 1 Comment

There are two ways to create React components, using functions or classes. A common question when learning React is often โ€œWhen do I use which?โ€ Luckily, this is a question that might eventually become obsolete with the release of React version 16.8 as it includes hooks.

Hooks provide a way to use functionality such as state and context that could only be achieved through classes previously to be easily done with functional components.

In this blog, weโ€™ll introduce React hooks and show some code examples of those hooks in action. Specifically, we will take a simple class component and convert it to a function with hooks, have an in-depth look at hooks useState and useEffect, and create a custom hook. Letโ€™s get started!

React Native With Expo

Lou Mauget Articles, Development Technologies & Tools, JavaScript, Mobile, React, React Native 1 Comment

The React Native framework supports an installable mobile application created from JavaScript source code. It is not a React-based web app wrapper. It isnโ€™t a code generator. There is no required application source code in Java, Objective-C, Swift, or Kotlin. Moreover, a single React Native application targets both iOS and Android devices.

In this blog, we show a quick-start that results in an executing application on a phone, within five minutes. That application is live-reloadable, native cross-platform, and written in JavaScript. It is not a web application.

JavaScript Bake-Off: Angular, React, and Vue

David Pitt Angular, Articles, JavaScript, Opinion, React, Single-Page Application, Vue.js Leave a Comment

As Keyhole consultants, we are exposed to a plethora of technology stacks and implementations from client project to client project. Particularly with our enterprise clients, great care must go into selecting the best technologies for the companyโ€™s technical needs and current landscape. After all, they donโ€™t want to be re-writing the same application in just a couple of years due to lackluster choices and shortage of developers to add functionality.

In this post, we present an open source reference application developed three times using three different frameworks, React, Vue & Angular.

Release: Hyperledger Blockchain Analytics Tool

Keyhole Software Articles, Blockchain, Company News, Development Technologies & Tools, Hyperledger, Java, JavaScript, Keyhole Creations, Node.js, React Leave a Comment

We are proud to announce the new release of a Hyperledger Fabric Blockchain Browser open source web application. This application utility allows developers and operators of Hyperledger blockchain networks to have visibility into transactions and blocks as they are added to the network.

Capabilities
The KHS Blockchain Browser is a React/Node.js web application that…

Improving Performance in React Applications

Adrienne Gessler Articles, Design, JavaScript, React 2 Comments

Letโ€™s say youโ€™ve stepped into a React application to make some updates or been involved in building one yourself. You have been at it a while, and feel somewhat comfortable using React, you understand Reactโ€™s lifecycle and you may be using React libraries like Redux or MobX to some extent.

As with any technology, you start to notice that a few of the pages are looking a little slow. You know performance tuning too early is often a bad idea, but you feel like you might be at that point. After all, in your experience, end users notice even small lags and no one wants that. So what do you do now?

In this blog, I introduce six tips for improving performance and design in your React application.