-
Notifications
You must be signed in to change notification settings - Fork 7
Throws an exception in ReactNative 16 #19
Comments
How was that working before? |
Can we wait until they let us know? We could simply adapt the native check if needed... On the other hand, it is true that the native+fallback implementation we have is in fact more fragile and browser-dependent than we'd like to. Considering all the fixes we already had to apply for |
Hey Chema, I think we have to go ahead and change the implementation here for at least those reasons:
Eduardo is also OK if we change it and use only one implementation and we may start with url-parse. We have to keep the existing interface and change only the internals. It would simplify the module a lot. So, would it be possible for someone from Spain to apply this really quickly? |
Hey @ipeychev, we can definitely take a look, but I'm not so sure about the timeframe. @vbence86 is finishing the update of AlloyEditor to React16, so he might be able to get to this as soon as he's done with it. @Robert-Frampton should be coming back from LSNA soon as well. It would take at least a couple of days, but we can prioritize this. Just to clarify, are we talking about simply consuming url-parse or maintaining our own implementation? |
@jbalsas The |
Yeah, we're on it, we'll get started as soon as we finish with the AlloyEditor React16 story I mentioned... unless @Robert-Frampton beats us to it 😉 |
…rs between environments. deprecate#19
…rs between environments. deprecate#19
I have a branch with passing tests here. |
This has been merged to |
In ReactNative 16 this check fails since
URL
is an object, butURL.length
is 0.Question: What if we drop the current implementation which uses URL or parsing via
a
element and replace it with a specially prepared module for that purpose, which has small footprint and does not use any native objects? This could be url-parse module.The text was updated successfully, but these errors were encountered: