webcomponents-in-react
webcomponents-in-react copied to clipboard
fix Uncaught TypeError: webComponentRef.current is null
In some cases, I see the error Uncaught TypeError: webComponentRef.current is null. The fix avoids this.
Codecov Report
Merging #9 (b8ef482) into master (e4211cf) will not change coverage. The diff coverage is
100.00%.
@@ Coverage Diff @@
## master #9 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 54 55 +1
Branches 9 10 +1
=========================================
+ Hits 54 55 +1
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/index.tsx | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update e4211cf...b8ef482. Read the comment docs.