willb335 / chessboardjsx

:black_square_button: Chessboard built for React
https://chessboardjsx.com
MIT License
267 stars 79 forks source link

Usage with React Native #36

Closed ronlaniado closed 5 years ago

ronlaniado commented 5 years ago

I'd like to use this library with React Native, but when I try to, I get:

Invariant Violation: View config not found for name div. Make sure to start component names with a capital letter.

I'm assuming this is because this is made for ReactJS? Would it be possible to add support for RN, or is there a way of solving this that I'm not aware of?

willb335 commented 5 years ago

Hello, This library only works with the web. If you want to make a mobile app with this library I would recommend a PWA

Sorry about that

ronlaniado commented 5 years ago

Alright, thanks for the help.

On Wed, Dec 19, 2018 at 9:45 AM Will notifications@github.com wrote:

Hello, This library only works with the web. If you want to make a mobile app with this library I would recommend a PWA https://developers.google.com/web/progressive-web-apps/

Sorry about that

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/willb335/chessboardjsx/issues/36#issuecomment-448620234, or mute the thread https://github.com/notifications/unsubscribe-auth/AOXzLkBt5U8IsWbxfFPUWYsVh2parNjzks5u6lEFgaJpZM4ZZTmB .