Session
FOSDEM 2021 Schedule
JavaScript

Graphql - Apollo Client Issues and solving for state management

The event mainly talks the different issues faced with using Apollo Client and how to solve for that using React hooks.
D.javascript
Akshat Garg
Agenda 1 Intro Introduce the basic use-case and need for state management libraries. 2 Apollo Client 2.x as your complete state solution Explain how does Apollo client 2.x provides support for local statement management and briefly touch upon the APis. 3 Performance Issues - Large data sets Explain the performance issues/lag that happen when working with large data-sets, for eg: tables with > 10k rows, etc. 4 Performance Issues - Local mutation + Resolvers Explain the performance issues/lag and the extra boilerplate overhead that comes with it. 5 Performance Issues - Extending Types on Client Highlight the drawbacks of client side state vs the remote data. 6 Splitting state management Differentiate between remote, application & component data. 7 Redux vs React Core (useContext+useReducer) Solution to the problem 8 Apollo Client 3 Touch base upon the new Apollo client API 9 Final thoughts

Additional information

Type devroom

More sessions

2/6/21
JavaScript
Florian PASTEUR
D.javascript
How to write Angular components that can evolve ? How can we write components that can easily be refactored ? How can we write tests that won't be useless as soon as we change the implementation ? We can achieve all that by writing the tests first, writing tests that are agnostic of the implementation, so writing tests that focus on features.
2/6/21
JavaScript
André Jaenisch
D.javascript
Eleventy isn't the first Static Site Generator in Node.js out there. But it gets amazing feedback from different parties. Time to look into what makes it so compelling! We'll touch Setup, Data Directory Files and Template Languages. You'll see, that you have plenty of options to choose from.
2/6/21
JavaScript
Marijn Haverbeke
D.javascript
Accessible code editing with CodeMirror 6
2/6/21
JavaScript
Allon Mureinik
D.javascript
Node.js’ single-threaded nature makes it very susceptible to DOS attacks. While Node.js’ event loop allows performing some operations in an asynchronous fashion, it’s still quite easy to write a vulnerable Node.js application by making a few simple mistakes. In this talk I’ll cover some common ways a Node.js application may be vulnerable to DoS attacks and some common best-practices and counter measures to defend against such attacks.
2/6/21
JavaScript
Akshat Garg
D.javascript
The presentation will cover different ways to communicate across browsing contexts. The main 2 approaches are - 1. Shared memory - Localstorage, Cookies, SessionStorage, IndexedDB, SharedArrayBuffers & Atomics 2. Messaging- Postmessage, BroadcastChannel, MessageChannel The presentation will show a demo of usage for each of the types and explain the use-case, advantages and disadvantages for them.
2/6/21
JavaScript
Gordon Williams
D.javascript
How I reverse engineered an off the shelf smart watch in order to create Bangle.js, a watch that runs JavaScript. I'll cover the process as well as some of the hacks Espruino employs to run JS on a device with only 64k of RAM!
2/6/21
JavaScript
Eliran Natan
D.javascript
Reinforcement learning learns complex processes by experimenting with its environment. In this session, you will get a glimpse into Q-Learning and Neural Networks, and how they can be implemented in JavaScript using TensorFlow.js library. As an example, we will show & discuss an implementation which solves the well-known Mountain Car problem.