DEV Community

Discussion on: How to Build a Skeleton Layout in React

Collapse
 
james_baxter_9deedb25c4e6 profile image
James Baxter

Awesome sauce! You should be using functional components. Class based components are no longer recommended.

Collapse
 
lukekyl profile image
Kyle Luke

Thanks James, I was thinking that when building the example but wanted to keep this code tutorial accessible to users that may have not made that switch. I might consider transitioning the codepen in the near future.