Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 2, 2024 via pnpm

react-hot-loader 4.1.2

Tweak React components in real time.
Package summary
Share
1
issue
1
high severity
meta
1
2
licenses
14
MIT
1
BSD-3-Clause
Package created
13 Jul 2014
Version published
24 Apr 2018
Maintainers
6
Total deps
15
Direct deps
7
License
MIT

Issues

1

1 high severity issue

high
via: react@16.14.0
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
14 Packages, Including:
dom-walk@0.1.2
fast-levenshtein@2.0.6
global@4.4.0
js-tokens@4.0.0
loose-envify@1.4.0
min-document@2.19.0
object-assign@4.1.1
process@0.11.10
prop-types@15.8.1
react-hot-loader@4.1.2
react-is@16.13.1
react-lifecycles-compat@3.0.4
react@16.14.0
shallowequal@1.1.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
hoist-non-react-statics@2.5.5
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

7
All Dependencies CSV
β“˜ This is a list of react-hot-loader 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
fast-levenshtein2.0.63.61 kBMIT
prod
global4.4.01.85 kBMIT
prod
hoist-non-react-statics2.5.53.73 kBBSD-3-Clause
prod
prop-types15.8.122.12 kBMIT
prod
react-lifecycles-compat3.0.45.86 kBMIT
prod
react16.14.059.16 kBMIT
prod peer
1
shallowequal1.1.02.99 kBMIT
prod

Visualizations

Frequently Asked Questions

What does react-hot-loader do?

React Hot Loader is a plugin that allows you to tweak React components in real time and see the changes without having to reload your application. This capability greatly enhances the development workflow, making it easier and faster to iterate through changes, visualize results, and debug code.

How do you use react-hot-loader?

To utilize React Hot Loader, first, install it in your project using npm with the command:

npm install react-hot-loader

Once it is installed in your project, there are several steps to follow:

  1. Add react-hot-loader/babel to your .babelrc file:
// .babelrc
{
  "plugins": ["react-hot-loader/babel"]
}
  1. Mark your root component as hot-exported:
// App.js
import { hot } from 'react-hot-loader/root';
const App = () => <div>Hello World!</div>;
export default hot(App);
  1. Require react-hot-loader before react and react-dom. You can do this in your main file (preferably before React) or prepend your webpack entry point with react-hot-loader/patch:
// webpack.config.js
module.exports = {
  entry: ['react-hot-loader/patch', './src'],
  // ...
};
  1. If you need hooks support, use @hot-loader/react-dom.

Where are the react-hot-loader docs?

The React Hot Loader documentation is available on GitHub and can be accessed via the URL: git+https://github.com/gaearon/react-hot-loader.git. There, issues can be reported, and you can navigate through the different sections ranging from installation, example usage to setting up with various environments, API references, and known limitations.