vincentriemer / react-native-dom

An experimental, comprehensive port of React Native to the web.
https://rntester.now.sh
MIT License
3.25k stars 73 forks source link

Refresh to use idb-keyval api v3 #84

Closed nicosommi closed 5 years ago

nicosommi commented 5 years ago

Hi! Nice work and talk in ReactEurope!

I just found this small issue when rendering one of my projects with this package:

screen shot 2018-10-08 at 17 34 58

And I found that the idb-keyval package api changed in v3 and the method previously named "delete" is now named "del".

This PR is one way to fix this, another would be to change the package json and downgrade idb-keyval to v2

It is rare tho that this didn't broke the flow type check 🤔

vincentriemer commented 5 years ago

Whoops must have missed that, thanks for the fix!