Generate Strongly Typed React Components with GraphQL

Mat Warger API Development, Articles, AWS, Development Technologies & Tools, GraphQL, JavaScript, Programming 1 Comment

When developing in React, using a type system (like Typescript or Flow) can be a great help. You can be sure that your props and state are what you expect, at build-time, and code your components to match.

But what happens when youโ€™re calling to an API to fetch some data, and the shape of that data is what really matters? Maybe the data get passed as props to a child component? You can create types for this, sure, but are they correct? Probably not! Or at least, probably not for long! Things change. Wouldnโ€™t it be great if your types changed too?

In this post, weโ€™re going to take a simple component from zero type awareness to fully typed, with local variables and GraphQL queries included, with a simple workflow. Grab a cup of coffee and a snack, and letโ€™s see how this we can use GraphQL to generate type-safe components in React.

Keyhole Announces Gold Dev Up 2018 Sponsorship & Speaker

Keyhole Software Articles, Community, Company News, Educational Event, GraphQL, Keyhole Leave a Comment

We are pleased to announce that Keyhole Software is a Gold Sponsor of the 2018 St. Louis Developer Conference! This will be the fourth year of Keyhole Sponsoring.

Formerly known as the St. Louis Days of .NET andย rebranded as Dev Up during the 2015 conference, the 11th annual editionย will bring together regional and national IT experts to share their knowledge for technology.

The Dev Upย conference isย October 8-10, 2018 at the St. Charles Convention Center in St. Charles, Missouri. Monday, October 8th featuresย all-day hands-on sessions called โ€œPre-Compilersโ€ which are optional.ย The main conference takes place on October 9th & 10th and features over 140 technical training sessions geared toward all levels of experience.

State Management with MobX and React

Nick Brown Articles, Development Technologies & Tools, JavaScript, React Leave a Comment

There are many options when it comes to managing the state of a React application. Choosing the right one for your application can feel daunting.

The most popular choice, Redux, is often thought of as verbose because it requires a lot of boilerplate code, thus slowing down development. Redux is also very opinionated so it will take time for those unfamiliar with its functional programming paradigm to become comfortable with it.

In this blog, weโ€™ll take a closer look at an alternative that aims to solve issues in React application state: MobX. To do that, I built a simple calorie counter application that will be used to showcase MobX in use.

Keyhole Labs Releases Open Source Blockchain Browser For Real-Time Metrics

Lauren Fournier Bogner Articles, Blockchain, Company News, Hyperledger, Keyhole Creations Leave a Comment

The Keyhole Labs team has announced the releaseย of an open source tool for Hyperledger Fabric blockchain networks: KHS Blockchain Browser.

Theย KHS Blockchain Browser allows users to browse blockchain data while providing real-time analytics of the transactions and executions. It also provides monitoring of new blocks being added to the network.

The application was built using React and Node.js. It is Apache 2.0 open-source licensed.

Learn mor….

Default image for blog posts - purely decorative

Life as a Software Consultant

John Boardman Articles, Consulting, Keyhole, Opinion Leave a Comment

I’ve been in the field of programming professionally since 1990. I started out as a corporate employee for 14 years, then as a consultant, back to an employee, and finally settled with consulting. In both positions, I’ve worked with small, medium, large, and huge Fortune 50 corporations. There are many similarities between being an employee and a consultant, but there are also some significant differences.

In this blog, I’ll explore what life has been like in each role and hopefully give some perspective to others who might just be starting out. Keep in mind when I write “employee,” I am specifically targeting programmers.