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

[feat]: Convert to react-native #20

Open
philohelp opened this issue Dec 22, 2023 · 0 comments
Open

[feat]: Convert to react-native #20

philohelp opened this issue Dec 22, 2023 · 0 comments
Labels
issue: feature request Issue suggesting a new feature

Comments

@philohelp
Copy link

philohelp commented Dec 22, 2023

A clear and concise description of what the feature is

The feature would allow to convert blocks contents into a react / react-native readable format. I guess that much of the logic could remain close or identical as both could take advantage of the react standards, simply switching the final tags - <div> becoming <View>, <p> becoming <Text> etc.

Why should this feature be included?

One of the main advantage of using a headless editor like Strapi is the ability to serve contents not only to web apps, but also to mobile apps.

Please provide an example for how this would work

Globo made such a converter with draftJs, it worked pretty well.
https://github.com/globocom/react-native-draftjs-render

@joshuaellis joshuaellis added the issue: feature request Issue suggesting a new feature label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: feature request Issue suggesting a new feature
Projects
None yet
Development

No branches or pull requests

2 participants