-
Notifications
You must be signed in to change notification settings - Fork 7
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
Cannot get it to work as a child component. #13
Comments
@escromartie , you can try @flyskywhy/react-native-gcanvas npm package. After months work, @flyskywhy/react-native-gcanvas runs well on Android and iOS, fix several bugs and add With Performance Test Result, and Convenient With Browser-like canvas APIs with the easily |
Time forced me to find an alternate solution: I used dynamically drawn SVG
which works great and is fast on both platforms. Thank you for the
feedback. I will try it later.
Edmund S. Cromartie
…On Wed, Dec 23, 2020 at 4:33 AM Li Zheng ***@***.***> wrote:
@escromartie <https://github.com/escromartie> , you can try
@flyskywhy/react-native-gcanvas
<https://github.com/flyskywhy/react-native-gcanvas> npm package.
After months work, @flyskywhy/react-native-gcanvas
<https://github.com/flyskywhy/react-native-gcanvas> runs well on Android
and iOS, fix several bugs and add feat: support drawImage() from
require('some.png') on Android, iOS and Web described in Changelog.md
<https://github.com/flyskywhy/react-native-gcanvas/blob/master/docs/Changelog.md>,
refactor with the detailed Example As Usage
<https://github.com/flyskywhy/react-native-gcanvas#example-as-usage> in
README.md.
With Performance Test Result
<https://github.com/flyskywhy/react-native-gcanvas#performance-test-result>,
and Convenient With Browser-like canvas APIs
<https://github.com/flyskywhy/react-native-gcanvas#convenient-with-browser-like-canvas-apis>
with the easily <canvas/> ported example react-native-particles-bg
<https://github.com/flyskywhy/react-native-particles-bg> runs on Android,
iOS and Web, @flyskywhy/react-native-gcanvas is the best choice for now 😋
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASB73QO3GNKSQPMNBIZA3WDSWHPSVANCNFSM4UUEG4LQ>
.
|
I thought this was the answer to my problems. I am working on a react-native project using Expo for iOS. I need to have a graphical child screen to display some info. It is a simple game.
When I built the project as listed, it worked! I rewrote it as a functional component, and it worked!
Then, I tried to use it as a child component. No joy! I tried several ways. No luck. All I get is a blank screen.
Also, hot reload appears to not be working.
I have attached my test project (minus the node_modules and package_lock.json files).
Please help.
copy-2d.zip
The text was updated successfully, but these errors were encountered: