Skip to content

Conversation

brent-hoover
Copy link
Collaborator

Signed-off-by: Brent Hoover [email protected]

Impact: minor
Type: bugfix

Issue

When switching to Node 14 get this error and some styles do not load:

Prop className did not match. Server: "makeStyles-anchor-11" Client: "makeStyles-anchor-8

Seems to be this issue

Solution

Add a section to babelrc that makes sure that class names are the same on client and server.

Breaking changes

None

Testing

  1. Do a fresh clone of this branch
  2. Switch to Node 14
  3. Do yarn run start:dev
  4. Observe that the site loads all styles correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant