zoontek / react-native-dev-menu

Add custom items to the React Native dev menu.
MIT License
204 stars 25 forks source link

Expose a removeItem method #43

Open diegodorado opened 1 year ago

diegodorado commented 1 year ago

Why it is needed?

When adding items within a certain context, we may want to remove the items once that is no longer needed ( for example, the mentioned context was destroyed )

The workaround now is to overwrite the item with an empty handler, but the item is still there anyways

Possible implementation

No response

Code sample

No response