react-native-website
react-native-website copied to clipboard
Documentation: Stating HTML Use Limits Within React Native
Description
It seems that the documentation currently doesn't state whether HTML can or cannot be used within JSX in React Native.
What is the problem?
I recently found out that HTML tags (e.g. div
s, span
s, etc.) [possibly] cannot be used within React Native's component tree (https://github.com/react-navigation/react-navigation/issues/8932#issuecomment-1009087807).
I'm not sure if that is true, and I didn't find text in the documentation pages that gave me an answer to it.
Note: It could be the case that I didn't search well enough, and that the answer to this is already in the documentation. In that case, feel free to close this Issue.
How can we address it?
By including an official sentence or more about this topic somewhere in the documentation (maybe somewhere in the introduction page).
That way, users can do ⌘ k
, type "HTML", and have a text block regarding this topic show up.
Why is it important?
Having an official answer will save developers' time. Rather than getting a related error, and manually searching through non-doc pages to find the answer out, they can immediately get an answer from the docs themselves.
Who needs this?
New learners. This probably particularly applies to people coming from web React since HTML elements are heavily used there.
When should this happen (use version numbers if needed)?
In the next version (?).
👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.
Hi @github-actions bot,
This issue still needs attention. Thanks for your continuous care and concern.
Cheers, Hakeem
Hi @github-actions bot,
Please don't close this issue.
Thank you, Hakeem
👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.