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

[web] Added support for Expo web #58

Merged
merged 3 commits into from
Jun 24, 2020
Merged

Conversation

EvanBacon
Copy link
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
Contributor Author

@bleonard could you please review this

@xcarpentier
Copy link

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

@xcarpentier
Copy link

Any news?

@@ -5,12 +5,7 @@
'use strict';

import React from 'react';
import ReactNative from 'react-native';
Copy link
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
Contributor Author

@EvanBacon EvanBacon Oct 25, 2019

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.

@@ -1,5 +1,5 @@
import React from 'react';
import ReactNative from 'react-native';
Copy link
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
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.

@matbee-eth
Copy link

bump

@fbartho
Copy link
Contributor

fbartho commented Oct 25, 2019

@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
Copy link
Contributor

fbartho commented Nov 18, 2019

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

@xcarpentier
Copy link

any news?

@xcarpentier
Copy link

xcarpentier commented Dec 3, 2019

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

babel.config.js Outdated Show resolved Hide resolved
Copy link
Contributor

@fbartho fbartho left a comment

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 <[email protected]>
@radekcy
Copy link

radekcy commented Jan 15, 2020

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

@RoninSTi
Copy link

Can this please be merged?

@fbartho
Copy link
Contributor

fbartho commented Jan 27, 2020

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

@todorone
Copy link

todorone commented Jun 3, 2020

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

@fbartho
Copy link
Contributor

fbartho commented Jun 3, 2020

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

@fbartho
Copy link
Contributor

fbartho commented Jun 10, 2020

Finally working on it now.

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

fbartho commented Jun 10, 2020

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
Copy link
Contributor

fbartho commented Jun 24, 2020

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