Skip to content

example fix and color customisation support - #1

Merged
magicismight merged 2 commits into
magicismight:masterfrom
JaxGit:master
Mar 29, 2016
Merged

example fix and color customisation support#1
magicismight merged 2 commits into
magicismight:masterfrom
JaxGit:master

Conversation

@JaxGit

@JaxGit JaxGit commented Mar 19, 2016

Copy link
Copy Markdown
Contributor

:)

JaxGit added 2 commits March 19, 2016 13:42
fix missing Dep react-native-root-modal;
install Dep react-native-root-toast from lib root.
Comment thread Example/package.json
"dependencies": {
"react-native": "^0.20.0",
"react-native-root-toast": "^0.0.1"
"react-native-root-toast": "../",

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR. 👍
But I have one question for this.
Im not quite understand why should change the dependcy of react-native-root-toast to relative path. Wouldnt it be better that the example can be installed independently?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I keep seeing this structure elsewhere and I guess it may be only a convenience for contributors to also test the example project after they did any changes to the lib (needs npm uninstall this lib and re npm install), because they won't have an updated npm module of this lib to npm install before it's merged and officially published;
and a normal lib user would most possibly clone the whole repository and install from within the example subfolder, while he should also know how to change the version if he really want the example to be installed independently cause it's very basic.
Anyway I am still a learner of RN, please feel free to take any changes you like :)

@zth

zth commented Mar 24, 2016

Copy link
Copy Markdown

Color customization looks great, looking forward to see this merged when possible!

@magicismight
magicismight merged commit 0ae8876 into magicismight:master Mar 29, 2016
@magicismight

Copy link
Copy Markdown
Owner

Thanks for this PR 👍

magicismight pushed a commit that referenced this pull request Aug 7, 2017
add prop-types in dependencies
sunnylqm pushed a commit that referenced this pull request Oct 2, 2019
replaced legacy methods: componentWillMount, componentWillReceiveProps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants