Websocket APIs — #15

Welcome to Learning at Lambert Labs session #15. This week, Ramin explains what a Websocket API is, how it compares to the alternatives such as REST and GraphQL, and how to implement one for a real application.

In Today’s Learning Session:

  • What is a Websocket API
  • How these APIs differ from the alternatives e.g. REST, GraphQL
  • Receiving data from a Websocket
  • Implementing a Websocket API in JavaScript, both locally and on AWS API Gateway
  • Q&A from our developers!

🔊 Subscribe to our channel for weekly learning sessions! https://www.youtube.com/channel/UCi7G5sY0IWqSNUMnRptuJmw 🔗

Like and comment on our other videos and posts and if you find want to learn more about the technologies shown in this video, check out our Technologies page!

Lambert Labs Links 🔗 :

🌎 Website: https://lambertlabs.com/​​

📱 Twitter: https://twitter.com/lambertlabs​

📝 LinkedIn: https://www.linkedin.com/company/lambertlabs/

📂 GitHub: https://github.com/lambertlabs​​

How to use callbacks to set State in React? – #13

Welcome to Learning at Lambert Labs session #13. This week, Guy King, explains how React updates State asynchronously in a component.

In Today’s Learning Session:

  • What is State in a React component?
  • useState hook in React 16+
  • Callbacks for setting State
  • Why use callbacks?
  • Normal case vs. unexpected case with setTimeout
  • When should you bother with callbacks for asynchronous updates to State
  • Q&A from our developers!

🔊 Subscribe to our channel for weekly learning sessions! https://www.youtube.com/channel/UCi7G5sY0IWqSNUMnRptuJmw

If you’re interested in how Lambert Labs might use React or other web app technologies, check out our Portfolio!