You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initially I thought it was an issue with my .babelrc config (as I was using PostCSS plugins) but I eliminated those and was still experiencing the issue.
If I change the stateful component to a stateless component it works as expected.
I created a sample repository here to allow replication of the issue. This issue could be related to #4265 but there might be some differentation.
Context
The issue primarily affects the developer experience. It is managable but irritating.
Your Environment
Tech
Version
next
6.0.1-canary.1
node
8.9.0
OS
macOS 10.13.4
browser
Chrome 66.0.3359.139
The text was updated successfully, but these errors were encountered:
Expected Behavior
App should automatically reload with new CSS changes.
Current Behavior
When making CSS changes, the app throws an error:
Error: StyleSheetRegistry: styleId: `jsx-215943140` not found.
A page refresh clears the error and loads the app correctly.
Steps to Reproduce (for bugs)
next@canary
React.Component
inpages/index.js
<style jsx></style>
Show code example
Initially I thought it was an issue with my
.babelrc
config (as I was using PostCSS plugins) but I eliminated those and was still experiencing the issue.If I change the stateful component to a stateless component it works as expected.
I created a sample repository here to allow replication of the issue. This issue could be related to #4265 but there might be some differentation.
Context
The issue primarily affects the developer experience. It is managable but irritating.
Your Environment
The text was updated successfully, but these errors were encountered: