Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Proposal: Use default import instead #11

@gsklee

Description

@gsklee

Right now to set up a Redux & Redux Saga aware Reactotron instance, the import signatures will be something like:

import Reactotron from 'reactotron-react-native';
import { reactotronRedux } from 'reactotron-redux';
import sagaPlugin from 'reactotron-redux-saga';

I feel like there is something wrong with the inconsistency here and would like to suggest a better alternative:

import Reactotron from 'reactotron-react-native';
import ReactotronRedux from 'reactotron-redux';
import ReactotronReduxSaga from 'reactotron-redux-saga';

This will be a pure semantic and version breaking change.
@rmevans9 if you are up for it (ie. unifying all the import semantics) I can create a PR to each and all Reactotron plugins.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions