"Can't make class hot reloadable due to being read-only”
See original GitHub issueI’m getting the "Can’t make class hot reloadable due to being read-only” warning on three of my components. Considering that these are ordinary components, I am a bit confused by this error; it seems random. Any ideas what could have gone wrong?
Here is an example of one such component that is throwing the error. The other two components are reasonably similar to this one:
import React, { Component } from 'react';
import { View } from 'components/layout';
import { RegisterForm } from './components';
const viewConfig = {
...
};
export default class RegisterView extends Component {
render() {
return (
<View {...viewConfig}>
<RegisterForm />
</View>
);
}
}
EDIT:
Looks like this is connected to #72?
Issue Analytics
- State:
- Created 8 years ago
- Comments:34 (10 by maintainers)
Top Results From Across the Web
How To Fix a Folder That Keeps Reverting to Read Only - Alphr
A folder created by the administrator account can't be modified by a guest account. So, make sure to log in using the Administrator...
Read more >How to Fix Folder Keeps Reverting to Read Only on Windows 10
Disable Controlled Access Press and hold the “Windows Key + I” button to launch Windows Settings. Once the Settings are opened, navigate to ......
Read more >Folder keeps reverting to read only in Windows 10 / 11 Fix
According to these users, the problematic folder keeps returning the read-only status automatically, making them non editable. If you are facing ...
Read more >Reloading strongly typed Options on file changes in ASP.NET ...
This article discusses how to reload configuration values automatically when a configuration file changes. It then shows how to reload ...
Read more >Class TransactionOptions (3.23.0) | Python client library
Snapshot read-only transactions provide guaranteed consistency across several reads, but do not allow writes. Snapshot read-only transactions ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I too was getting this issue. After reading comments above i fixed it by doing following thing
Useful link - https://medium.com/@kentcdodds/misunderstanding-es6-modules-upgrading-babel-tears-and-a-solution-ad2d5ab93ce0#.rvrx62s5p
And FYI the links in the warning are incorrect: http://babeljs.io/docs/advanced/loose/ is 404 http://babeljs.io/docs/usage/options/ doesn’t mention
loosemode