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

element vs div id #556

Open
AdrianEasyOze opened this issue May 28, 2023 · 1 comment
Open

element vs div id #556

AdrianEasyOze opened this issue May 28, 2023 · 1 comment

Comments

@AdrianEasyOze
Copy link

Hi, I started using this library and I don't understand why there is an Element component when you can just add an id to a div ? Maybe I missed something

@fisshy
Copy link
Owner

fisshy commented May 29, 2023

Hi,

Using element is not necessary, But elements are predefined and not lookup dynamically as using a div.

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