Category: Class Components

Pexels Pixabay 270348 0

Building a Timeline Component with the SPFx SharePoint Framework

Let’s get you a Timeline component you can use for several use cases, in a chronologic way to represent information or just another way you want to represent items from a SharePoint List that makes sense to you. I’m using in this sample Class Components because at the time of this post there is no native Functional Components in the...

Photo By Lukas 0

SPFx Class Components Challenge

In fact this is a topic that has been talked about often. Hooks were added to React in version 16.8. Hooks allow function components to have access to state and other React features. Because of this, class components are generally no longer needed, yes in fact, but let’s see what we have at the time of this post. So in...