The missing piece of testing React hooks and components?
#255 — September 8, 2021
A Guide to React Context and the useContext() Hook — While React Context can seemingly simplify component access to global data regardless of where those components are in the tree, useContext() can add its own brand of complexity, meaning it’s not suitable for every situation and.. “Sometimes drilling the props through 2-3 levels in the hierarchy isn’t a big problem.”
Twitter’s Web App — As Powered by React Native for Web — Twitter must harbour the ambition for a common code base shared between their web and mobile apps. The big hint is their use of React Native for the Web for their current web offering and here’s some of what that entails in terms of messy HTML and uglified CSS.
Looking for a Data Grid? Hop On a Tour of the KendoReact Grid — Breeze through your React data grid research as KendoReact PM Carl Bergenhem walks you through everything you need to know, from how the grid handles basic operations to custom editing and PDF & Excel export demos. Enjoy the video.
Progress KendoReact sponsor
Testing React Hooks and Components: The Missing Piece — Jest and React Testing Library are both popular testing systems but the author asserts they lack the ability to test visually, which can more closely resemble real-world use. He uses Storybook to provide this “missing piece” of the testing puzzle.
Data Table Component 7.0: A Flexible React Data Table Library — Packed with features but easy to set up and lots of documentation available. Be sure to check out the ‘kitchen sink’ example. GitHub repo.
Senior Front-End Software Engineer (US/Poland/Remote) — Backed by Sequoia Capital and Coatue. We’re looking for JS experts to join the team building the world’s largest B2B marketplace.
Senior ReactJS+Rails Engineer (x/f/m) Remote or Paris, France — Join us to transform healthcare and have a positive impact on the lives of millions of patients and practitioners alike.
Find React Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
State Management in Next.js Apps — Managing state in a Next.js application can get tricky very quickly. This looks at some patterns to help avoid complexity in common scenarios and avoid “provider hell.”
Preparing Your React Native App for iOS 15 and Android 12 — Advice for readying your app for the new mobile OS versions releasing late this year and avoiding any regressions when the releases become generally available.
Virtualizing Large Data Lists with react-window
How to Build a Custom Component Button in React
How to Develop a Serverless Chatbot with AWS Amplify, Amazon Lex & React — No data science or NLP knowledge needed.
Sandro Volpicella’s Blog
🛠 Code and Tools
react-web-editor: A WYSIWYG Editor System for React Apps — A library for creating WYSIWYG editors complete with resizable and draggable elements, plus included rich text editing support.
Colorwaver: An Automated Color Palette Detection Mobile App — Simply point your mobile device at anything and this clever app will generate the appropriate colour palette for what is being viewed, as shown in this demo. If you want to see the codebase for a complete React Native app with optimized extra backend code, this is a good place to start.
React Render Tracker — A tool to discover performance issues related to unintentional re-renders and unmounts.
⚡️ Quick Bits:
react-native-iap — Access the basic in-app purchase capability on Android or iOS.
react-web-editor — Create your own WYWIWYG editor.
Chartbrew — Create beautiful charts directly from connected databases.