menu

styled-components

Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress!

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Help
view-forward
# jest
view-forward
# Off Topic
view-forward
# Website
view-forward
Team

In the jest-styled-components package, what is __PRIVATE__?

July 6, 2019 at 9:10pm

In the jest-styled-components package, what is __PRIVATE__?

July 6, 2019 at 9:10pm (Edited 1 year ago)
In src/utils.js on line 2, __PRIVATE__ is imported from styled-components. What is this? https://github.com/styled-components/jest-styled-components/blob/d140dd069f27ead5d123c1744c981952daa29f38/src/utils.js#L2

July 7, 2019 at 4:14pm
Guess I'm confused about what "secret internals" are?
Edited
  • reply
  • like