-
Updated
Sep 21, 2021 - TypeScript
#
hoc
Here are 344 public repositories matching this topic...
Browser API's turned into declarative React components and HoC's
A React Higher Order Component (HOC) for handling Authentication and Authorization with Routing and Redux
-
Updated
Sep 21, 2021 - JavaScript
-
Updated
Sep 21, 2021 - JavaScript
An onClickOutside wrapper for React components
-
Updated
Sep 13, 2021 - JavaScript
Awesome list of React components with render props
-
Updated
Apr 4, 2019
React Component to lazy load images and components using a HOC to track window scroll position.
react
ssr
reactjs
react-component
lazyload
server-side-rendering
hoc
lazy-loading
lazyload-images
intersection-observer
react-lazy
react-performance
intersectionobserver
react-lazy-module
react-lazy-load
-
Updated
Aug 13, 2021 - JavaScript
-
Updated
Nov 25, 2018 - JavaScript
Declarative WebAssembly instantiation for React
-
Updated
Sep 21, 2021 - JavaScript
tiny, flexible, HOC for rendering route breadcrumbs with react-router v4 & 5
-
Updated
Jun 10, 2021 - JavaScript
React "Shallow Equal" HOC implementation to optimize shouldComponentUpdate with children / React elements 🐇 ➰
-
Updated
Nov 28, 2017 - JavaScript
Example Project & Guide for mastering Promises in Node/JavaScript. Feat. proposed 'Functional River' pattern
nodejs
javascript
refactoring
modular
patterns
guide
example
promise
callback
hoc
callbacks
functional-river
callback-mountain
modular-js
-
Updated
Sep 10, 2020 - JavaScript
Next.js HOC to integrate Google Analytics on every page change
-
Updated
Jan 22, 2020 - JavaScript
react
javascript
hooks
hook
typescript
component
progress
animation
progress-bar
spinner
progressbar
loading
higher-order-component
hoc
nprogress
render-props
-
Updated
Oct 5, 2021 - TypeScript
Material UI table with local or remote data-source. Featuring filtering, sorting, free-text search, export to CSV locally, and aggregations.
-
Updated
Mar 4, 2021 - TypeScript
Components to provide and consume RTL or LTR direction in React
-
Updated
Oct 5, 2021 - JavaScript
-
Updated
Jun 21, 2019 - JavaScript
TrebuhD
commented
Oct 28, 2020
Is your feature request related to a problem? Please describe.
Hooks were introduced 2 years ago in React 16.8. With class-based components decreasing in popularity compared to functional components, it would make sense to create a hook as an alternative to the withFocusable
HOC.
Describe the solution you'd like
The hook could work like t
Next.js HOC to integrate NProgress inside your app
-
Updated
Aug 10, 2019 - JavaScript
Feature Flags for React made easy with hooks, HOC and Render Props
react
hooks
typescript
feature-flags
higher-order-component
hoc
render-prop
render-props
react-hooks
-
Updated
Oct 4, 2021 - TypeScript
Password protect your Next.js projects.
-
Updated
Oct 1, 2021 - TypeScript
-
Updated
May 7, 2019 - JavaScript
HOC to redirect to any URL in NextJS both in client and server
-
Updated
Sep 23, 2021 - TypeScript
A inferno utility belt for function components and higher-order components
javascript
npm
functional-programming
npm-package
inferno
inferno-js
higher-order-component
recompose
hoc
functional-components
-
Updated
Jul 6, 2019 - JavaScript
Production ready library for handling Microfrontends
-
Updated
Apr 3, 2018 - JavaScript
-
Updated
Jul 16, 2017 - JavaScript
Improve this page
Add a description, image, and links to the hoc topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the hoc topic, visit your repo's landing page and select "manage topics."
Hey,
Thanks a lot for this library!
It appears that you do not copy static methods as described here: https://reactjs.org/docs/higher-order-components.html#static-methods-must-be-copied-over
It seems the convention is that all HOC should do that. The behaviour is somewhat unexpected otherwise.
Are you planning on adding it to the library?
In the meantime, I'm using this workaround: