originally introduced in 4.x this apparently breaks rehydration / HMR
in development runtimes pretty badly; needs potentially a different
implementation and more testing
* add seal fn back to ServerStyleSheet for backward compat
* Make ServerStyleSheet sealed error more precise
- collectStyles could very well be used for multiple elements
although that's a rare use case
- getStyleTags and getStyleElement are safe to be called again,
unless interleaveWithNodeStream was called already
- interleaveWithNodeStream is not safe to be called again
* add tests verifying the error scenarios, allow getStyleTags during streaming
* add react-is to rollup globals now that it's a peerDep
(cherry picked from commit 84d973b3e1e8d16ba7529ed29966d7f0e90bcb19)
* move prop-types to peerDeps
brings our bundle size down a bit more
* upgrade rollup
* Revert "move prop-types to peerDeps"
This reverts commit 70fbda3e683a5bf7351dc450442e1812d38f7b3d.
* just remove the stylesheet manager proptypes since rollup isn't doing its job
when the TS types get updated intellisense will do its thing in
VSCode, so shouldn't be too big of a deal
* pull up changelog from 4.x
* shush the linter
* add failing test
* prevent folding for interim HOCs
* clean up linter exception flags for legibility
* fix the className composition order of folded components
this was actually a subtle bug... the folded stuff should come first
and the uppermost should come after, and any user-supplied classes
should come last
* add self static for StyledNativeComponent
* shush the linter
* add failing test
* prevent folding for interim HOCs
* clean up linter exception flags for legibility
* fix the className composition order of folded components
this was actually a subtle bug... the folded stuff should come first
and the uppermost should come after, and any user-supplied classes
should come last
* add self static for StyledNativeComponent
* implement innerAs for s-c web
* implement innerAs for s-c native
* rename innerAs -> forwardedAs
The naming aligns better with the pattern React established
with forwardRef, etc.
* remove changelog entry since it landed in 4.x