refactor(list): rewrite with hook (#23542)

* refactor(list): rewrite with hook

* fix lint

* fix lint

* fix lint

* fix Empty style dep

Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
Tom Xu
2020-04-26 21:23:25 +08:00
committed by GitHub
parent 75440c47c8
commit 9ff7f31dfe
3 changed files with 254 additions and 281 deletions

View File

@@ -10,6 +10,10 @@ module.exports = {
'**/*.json',
],
modulePattern: [
{
pattern: /ConfigContext.*renderEmpty/ms,
module: '../empty',
},
{
pattern: /ConfigConsumer.*renderEmpty/ms,
module: '../empty',