-
Notifications
You must be signed in to change notification settings - Fork 148
How to do event binding on component? #122
Comments
Sorry about the delay, @joshuairl. |
Okay I’ll use react dom for now.
But react tv was so much snappier
…--
Joshua F. Rountree | UX Developer
The E.W. Scripps Company
312 Walnut Street, Suite 2800, Floor 29th, Office 29W109
Cincinnati, Ohio 45202-4024
(513) 977-3840 (office, M-F, 7a-4p)
(513) 827-7936 (mobile)
On May 19, 2018, 10:41 AM -0400, Raphael Amorim ***@***.***>, wrote:
Sorry about the delay, @joshuairl.
Well, maybe now it's better to try to use with React-DOM. I'm working on React-TV 0.4 version with full improve on memory usage (#123) and creating a development version to catch these type of errors.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Assuming this is fixed now then? |
Nah it just doesn’t work |
I ran into the same issue, @jfrux. This issue is apparently due to Side note, while digging through |
Only workaround is instead of using an anonymous function, you should put in a named function:
|
When I do like
onPlay={() => {}}
or something along those lines, its causing react-tv renderer to throw errors in browser likeUnexpected token (
.On
react-dom
it works fine.What is a way I can do this without it throwing this error? I REALLY want to use this renderer but this is keeping me from rendering videos for some reason.
UPDATE:
It seems to be doing it with my more dynamic components like ones that use:
createElement
Any tips? Anybody done this?
The text was updated successfully, but these errors were encountered: