Open in app
Home
Notifications
Lists
Stories

Write
Geoffroy Mounier
Geoffroy Mounier

Home

Nov 4, 2020

React Hook Optimised Event Listener

Though we find a lot of stuff on event listeners in react, here are some ways to handle things such as scroll or mouse events in an efficient and concise way. Such events can fire a really high amount of times, therefore drastically impact performance of the overall rendering. …

React

4 min read

React Hook Optimised ScrollEvent Listener
React Hook Optimised ScrollEvent Listener

Aug 18, 2020

Host a React app and its Express server on the same EC2/VPS instance

I once worked on a React-Native app with login feature, for which we only needed a small Express server, and a priori no web pages… yet! We found out that we still needed to handle the reset password case… and for this reason, I decided to host server and app…

React

10 min read

Host a React app and its Express server on the same EC2/VPS instance
Host a React app and its Express server on the same EC2/VPS instance

Published in The Startup

·Aug 13, 2020

Mock Imported React Components and ES Modules With Jest

I know the documentation on Jest provides all the information needed when it comes to mocking imports of a test React components. Yet I sometimes find myself crawling through various blogs, or even Github snippets examples! So I figured out some self-explanatory examples could ease others’ life! Testing a React…

Jest

6 min read

Mock Imported React Components and Various Helpers
Mock Imported React Components and Various Helpers
Geoffroy Mounier

Geoffroy Mounier

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable