hyperstack-org / hyperstack-org/hyperstack
Can't access components that are memoized symbols in React 17
オープン
bug
compatibility
good first issue
- 主要言語
- JavaScript
- スター
- 538
- フォーク
- 41
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
they changed something
you can patch it like this:
```ruby
# patch to detect new style React memoized symbols
module Hyperstack
module Internal
module Component
class ReactWrapper
def self.stateless?(ncc)
`typeof #{ncc} === 'symbol' || typeof #{ncc}.$$typeof === 'symbol' || (typeof #{ncc} === 'function' && !(#{ncc}.prototype && #{ncc}.prototype.isReactComponent))`
end
end
end
end
end
```
コントリビューションガイド
評価
この issue はまだ評価されていません。