Skip to content
Force-updates React component tree recursively
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Revert "Revert "Revert "Disable shouldUpdate/onUpdate on master""" Aug 28, 2018
test Upgrade project Sep 20, 2017
.babelrc Add CJS export transform. Fixes #13 Aug 28, 2018
.eslintignore Upgrade project Sep 20, 2017
.eslintrc.js Upgrade project Sep 20, 2017
.gitignore Upgrade project Sep 20, 2017
.travis.yml Upgrade project Sep 20, 2017 Initial commit Sep 16, 2015 Clarify React Native situation Oct 19, 2015
package.json 2.1.3 Aug 28, 2018


build status npm version npm downloads

Force-updates React component tree recursively.

Don’t use this in your application code!

You’ll only need this if you’re writing a React development tool and you want to enforce a deep update regardless of what component classes have to say.


npm install --save react-deep-force-update

Requires React 0.14 and newer.


import React from 'react';
import { render } from 'react-dom';
import deepForceUpdate from 'react-deep-force-update';

const instance = render(<Something />);

// Will force-update the whole rendered tree
// even if components in the middle of it
// define a strict shouldComponentUpdate().

React Native

This will work with React Native when facebook/react-native#2985 lands.
For now, you can keep using 1.x.


This project is based on the code written by @syranide.



You can’t perform that action at this time.