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

Using View layout for paragraphs #47

Open
jonasb opened this issue May 8, 2017 · 3 comments
Open

Using View layout for paragraphs #47

jonasb opened this issue May 8, 2017 · 3 comments
Labels
Milestone

Comments

@jonasb
Copy link

jonasb commented May 8, 2017

As of @3b4147bd8729bb4875f0a2dbf2757e493d227cab this library is using View layout for paragraphs and all unstyled words are rendered as individual Text components. Nesting Text in View results in a lot of native controls getting rendered which is detrimental to the performance (and text rendering quality).

Is it the intention of this library to continue with that?

@hisham
Copy link

hisham commented Jul 4, 2017

Any update on this? We are running into performance issues with markdown as well.

@CharlesMangwa CharlesMangwa added this to the v2 milestone Dec 7, 2017
@CharlesMangwa
Copy link
Owner

This will change with the incoming v2. You can join the discussion and share you're thoughts about how we should handle this :) #75

@thebergamo
Copy link

thebergamo commented Sep 3, 2018

A quick fix for this problem is to replicate in your styles the same as it's used in the module itself.

paragraph: {
flexWrap: 'wrap',
flexDirection: 'row',
alignItems: 'flex-start',
justifyContent: 'flex-start',

When pasting this style inside your paragraph it started to work regularly again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants