Code sharing patterns in React
-
Updated
Nov 29, 2017 - JavaScript
Code sharing patterns in React
1 kB React component for accessible accordions / collapse UI
Summary and code examples from my talk about "HOCs vs. Render Props" at Brisbane React JS meetup
A JSON.stringify() React component utility
A helper function to support various React render prop use cases
Build upload UIs with dropzone and previews out of the box.
React CSS media queries with breakpoint render props Component and Provider. 🔫
Replace native `confirm` function with yer modals.
A renderless tree component for your hierarchical React views
Easily and reliably support Render Props, Component Injection, and Function as a Child
Progressive image rendering made easy 🔮
🚀Use multiple React Contexts without pain.
An unopinionated `<ErrorBoundary />` React component for React 16+.
A minimal foundation for building calendars with React
Convert between Render Props and HOC.
👂 A React render-prop component that listens to values emitted by callbags
A data sorting react component that uses render props
🏫 Reusing component logic using render props
React Component that abstracts away requestAnimationFrame, allowing you to set props by monitoring anything in the document!
Add a description, image, and links to the render-props topic page so that developers can more easily learn about it.
To associate your repository with the render-props topic, visit your repo's landing page and select "manage topics."