avishayil / react-native-restart

React Native Package With One Purpose: To Restart Your React Native Project
MIT License
941 stars 149 forks source link

Why does this library exist? #178

Closed rubek-joshi closed 3 years ago

rubek-joshi commented 3 years ago

All this library does is it just exports a react-native module and rebrands it as if it's its own. Was this really necessary? Or am I missing something?

QinkangLu commented 3 years ago

I check the code. You are absolutely right I believe

linh1987 commented 3 years ago

It exports the native part of this module itself (eg the RNRestart is the module exposed by this package, not builtin to React-native)

https://github.com/avishayil/react-native-restart/blob/master/src/index.tsx#L3

ImperatorOfIntellectualism commented 3 years ago

This module doesn't even work LOL. It says that it's undefined even though I did define it.

vanenshi commented 3 years ago

This module doesn't even work LOL. It says that it's undefined even though I did define it.

this package has a 36,907 weekly download (right now), maybe looking at your own code before commenting nonsense in Github is a better approach?