hyperstack-org / hyperstack-org/hyperstack

Can't access components that are memoized symbols in React 17

オープン
#420 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。