Skip to content

Commit

Permalink
fix(alita-core): 修复decodeURIComponent/encodeURIComponent 触发检查错误的bug
Browse files Browse the repository at this point in the history
affects: @areslabs/alita-core
  • Loading branch information
ykforerlang committed Feb 23, 2020
1 parent d7cdf67 commit 93c5ac6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/alita-core/src/precheck/checkJSX.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ const ignoreCompSet = new Set([
'PureComponent',
'HocComponent',
'WrappedComponent',
'Component'
'Component',
'encodeURIComponent',
'decodeURIComponent'
])

const supportRNAPI = new Set([
Expand Down

0 comments on commit 93c5ac6

Please sign in to comment.