Skip to content

[web] Added support for Expo web#58

Merged
fbartho merged 3 commits into
taskrabbit:masterfrom
EvanBacon:master
Jun 24, 2020
Merged

[web] Added support for Expo web#58
fbartho merged 3 commits into
taskrabbit:masterfrom
EvanBacon:master

Conversation

@EvanBacon

Copy link
Copy Markdown
Contributor

The default ReactNative export was removed from the most recent version of react-native-web. Using babel-preset-expo will provide the correct babel config on web and native. This is needed for getting react-native-gifted-chat working in web.

@EvanBacon

Copy link
Copy Markdown
Contributor Author

@bleonard could you please review this

@xcarpentier

Copy link
Copy Markdown

Please, we need it for this:
FaridSafi/react-native-gifted-chat#1284
@bleonard @fbartho @jrichardlai
Thanks ;)

@xcarpentier

Copy link
Copy Markdown

Any news?

Comment thread babel.config.js
Comment thread babel.config.js
Comment thread Example/index.android.js
'use strict';

import React from 'react';
import ReactNative from 'react-native';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any significant changes in this file that need to be reviewed? Most of them look like Formatting changes.

@EvanBacon EvanBacon Oct 25, 2019

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default export of react-native has been removed from web and will be removed from native soon. I opened this PR right after deleting it. It was removed because it causes all of the RN module to be bundled regardless of if you are using them or not.

Comment thread Example/index.ios.js
Comment thread src/ParsedText.js Outdated
@@ -1,5 +1,5 @@
import React from 'react';
import ReactNative from 'react-native';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any significant changes in this file that need to be reviewed? Most of them look like Formatting changes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default export of react-native has been removed from web and will be removed from native soon. I opened this PR right after deleting it. It was removed because it causes all of the RN module to be bundled regardless of if you are using them or not.

@matbeedotcom

Copy link
Copy Markdown

bump

@fbartho

fbartho commented Oct 25, 2019

Copy link
Copy Markdown
Contributor

@acidhax my questions are still unanswered. It feels like there are a few too many changes in this PR for what it claims to be doing, and I would prefer more documentation or explanations so that reviewers can verify this works correctly.

I’m currently not inclined to merge this PR as is, but if @EvanBacon wants to update it, or if somebody else can make a more targeted/verifiable PR then we might be able to assess this further.

@fbartho

fbartho commented Nov 18, 2019

Copy link
Copy Markdown
Contributor

Thanks for your changes @EvanBacon -- I'm going to try to get this merged this week.

@xcarpentier

Copy link
Copy Markdown

any news?

@xcarpentier

xcarpentier commented Dec 3, 2019

Copy link
Copy Markdown

Still not merge?
https://github.com/FaridSafi/react-native-gifted-chat#please-vote

Comment thread babel.config.js Outdated

@fbartho fbartho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @radekcy! Are there any other changes that might be needed?

Co-Authored-By: Frederic Barthelemy <git@fbartho.com>
@radekcy

radekcy commented Jan 15, 2020

Copy link
Copy Markdown

@fbartho no I haven't encountered any other issues - could it be merged soon?

@RoninSTi

Copy link
Copy Markdown

Can this please be merged?

@fbartho

fbartho commented Jan 27, 2020

Copy link
Copy Markdown
Contributor

@RoninSTi -- Yeah, we're working on getting a release ready with this PR & with support for react-native 0.60 (probably 0.62).

@todorone

todorone commented Jun 3, 2020

Copy link
Copy Markdown

@fbartho Is there anything more need to be done to push this PR forward? Thanks.

@fbartho

fbartho commented Jun 3, 2020

Copy link
Copy Markdown
Contributor

Thanks for the reminder! I’ll take a look tomorrow

@fbartho

fbartho commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

Finally working on it now.

@fbartho fbartho added this to the 0.0.22 milestone Jun 10, 2020
@fbartho

fbartho commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

I have this merged into an integration branch, will update when a beta build is out.

@fbartho fbartho mentioned this pull request Jun 11, 2020
@fbartho fbartho merged commit dd13b3b into taskrabbit:master Jun 24, 2020
@fbartho

fbartho commented Jun 24, 2020

Copy link
Copy Markdown
Contributor

Shipped in https://github.com/taskrabbit/react-native-parsed-text/releases/tag/v0.0.22 !

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

Successfully merging this pull request may close these issues.

9 participants