react-native-website icon indicating copy to clipboard operation
react-native-website copied to clipboard

Documentation: Stating HTML Use Limits Within React Native

Open Hakeemmidan opened this issue 3 years ago • 4 comments

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. divs, spans, 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 (?).

Hakeemmidan avatar Feb 06 '22 17:02 Hakeemmidan

👋 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.

github-actions[bot] avatar May 08 '22 02:05 github-actions[bot]

Hi @github-actions bot,

This issue still needs attention. Thanks for your continuous care and concern.

Cheers, Hakeem

Hakeemmidan avatar May 10 '22 15:05 Hakeemmidan

Hi @github-actions bot,

Please don't close this issue.

Thank you, Hakeem

Hakeemmidan avatar Jun 20 '22 15:06 Hakeemmidan

👋 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.

github-actions[bot] avatar Sep 19 '22 02:09 github-actions[bot]

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.

github-actions[bot] avatar Sep 26 '22 02:09 github-actions[bot]