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

When should I use this lib instead of TVFocusGuideView provided by react-native-tvos #124

Closed
evoactivity opened this issue May 14, 2024 · 1 comment

Comments

@evoactivity
Copy link

It seems they both solve the same problem. What benefits does this library offer over TVFocusGuideView?

@pierpo
Copy link
Member

pierpo commented May 15, 2024

Hey!

The main benefit is cross-platform compatibility and predictability.
The lib allows to have a behaviour that is 100% identical across tvOS / AndroidTV / web TVs.

If you're not interested in web compatibility, I would say that you might be better off with the native focus system that is becoming better and better 😊
There are still issues with the native system that you wouldn't get with this library, but this library has other trade-offs (most notably the accessibility support and some implementation tricks that are not super obvious - even though you can see them in our example).

Cheers 👋

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

2 participants