Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined is not an object (evaluating 'SliderIOS.propTypes') #3

Open
lecong opened this issue Jun 21, 2018 · 2 comments
Open

undefined is not an object (evaluating 'SliderIOS.propTypes') #3

lecong opened this issue Jun 21, 2018 · 2 comments

Comments

@lecong
Copy link

lecong commented Jun 21, 2018

Thanks for your component,

I have error, please help me fix it.
undefined is not an object (evaluating 'SliderIOS.propTypes')

SliderButton.js:26:37
loadModuleImplementation
require.js:214:12
guardedLoadModule
require.js:141:45
_require
require.js:132:20
render
Schedule.js:106:10
proxiedMethod
createPrototypeProxy.js:44:35
finishClassComponent
ReactNativeRenderer-dev.js:8811:23
updateClassComponent
ReactNativeRenderer-dev.js:8762:6
beginWork
ReactNativeRenderer-dev.js:9581:10
performUnitOfWork
ReactNativeRenderer-dev.js:12924:25
workLoop
ReactNativeRenderer-dev.js:12953:43
renderRoot
ReactNativeRenderer-dev.js:12996:17
performWorkOnRoot
ReactNativeRenderer-dev.js:13632:34
performWork
ReactNativeRenderer-dev.js:13545:26
performSyncWork
ReactNativeRenderer-dev.js:13506:16
batchedUpdates
ReactNativeRenderer-dev.js:13728:8
batchedUpdates
ReactNativeRenderer-dev.js:2565:27
_receiveRootNodeIDEvent
ReactNativeRenderer-dev.js:2701:17
receiveEvent
ReactNativeRenderer-dev.js:2721:26
__callFunction
MessageQueue.js:351:47

MessageQueue.js:116:26
__guardSafe
MessageQueue.js:314:6
callFunctionReturnFlushedQueue
MessageQueue.js:115:17

@agentS
Copy link
Owner

agentS commented Jul 29, 2018

Hi,

Unfortunately this component was written in 2015 and ReactNative changed has changed drastically since then. Furthermore, I don't have an Apple computer at hand, so I can't make any changes.

I'm afraid this is deprecated code that shouldn't be used anymore. Please feel free to browse the code and write your own implementation.

@checkerap
Copy link

please consider marking this as deprecated in the README

agentS added a commit that referenced this issue May 22, 2019
Since people still try to use this library and reporting bugs, I added a deprecation warning as suggested in issue #3.
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

No branches or pull requests

3 participants