Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

0.61.1 Discussion #146

Closed
grabbou opened this issue Sep 25, 2019 · 27 comments
Closed

0.61.1 Discussion #146

grabbou opened this issue Sep 25, 2019 · 27 comments
Labels
backport request Cherry picking a change into an existing release stable Stable version

Comments

@grabbou
Copy link
Member

grabbou commented Sep 25, 2019

Conversations on this thread are limited to 0.61 releases major issues and backport (cherry-pick) requests from commits that are already on master.

An example of a good such request is a bug fix for a serious issue that has been merged into master but did not make the 0.61.1 cut.

In other words, if you cannot point to a particular commit on master, then your request likely belongs as a new issue in http://github.com/facebook/react-native/issues.

@grabbou grabbou added stable Stable version backport request Cherry picking a change into an existing release labels Sep 25, 2019
@radeno

This comment has been minimized.

@Bardiamist

This comment has been minimized.

@talut

This comment has been minimized.

@mjmasn

This comment has been minimized.

@lucasbento

This comment has been minimized.

@pvinis

This comment has been minimized.

@lafiosca

This comment has been minimized.

@kelset

This comment has been minimized.

@ScreamZ

This comment has been minimized.

@xzilja
Copy link
Member

xzilja commented Sep 29, 2019

When using hooks there seems to be an issue with AppState listeners

useEffect(() => {
    AppState.addEventListener('change', handleStateChange);

    return () => {
      AppState.removeEventListener('change', handleStateChange);
    };
  }, [dynamicValue]);

This now returns

Illegal callback invocation from native module. This callback type only permits a single invocation from native code.

Code wasn't changed on my end, if anyone can think of any commit that could have caused this, I'll be glad to dig in. Also let me know if I should open issue in rn repo for this instead.

@vshab

This comment has been minimized.

@kelset kelset pinned this issue Sep 30, 2019
@felippepuhle

This comment has been minimized.

@grabbou
Copy link
Member Author

grabbou commented Sep 30, 2019

@ScreamZ aware of that and I am investigating the status of this issue. My goal is to release the next minor release with a fix for this.

@ScreamZ
Copy link

ScreamZ commented Sep 30, 2019

@grabbou Awesome thanks :)

@vonovak

This comment has been minimized.

@grabbou
Copy link
Member Author

grabbou commented Oct 1, 2019

After two hours of playing around with it, I have managed to find out that the issue is caused by facebook/react-native@14b455f

I can confirm it renders "just fine" when this commit is reverted. I will now reach out to the authors and other maintainers to see if we can quickly fix the issue or we should revert the commit. Your help is welcome!

I have found the root cause by performing a binary search for a commit that introduced the regression. I think it's a cool approach to debugging, so let me share this with you while we are at it.
Update: You want git-bisect as pointed out by @tido64, thanks!

@tido64
Copy link
Collaborator

tido64 commented Oct 1, 2019

@grabbou: Git actually has this built in. Have a look at git-bisect 😉

@grabbou
Copy link
Member Author

grabbou commented Oct 1, 2019

We will be reverting facebook/react-native@14b455f and doing another release today tomorrow (see for more). I will send appropriate PRs in a second.

@ScreamZ

This comment has been minimized.

@BipinBhandari

This comment has been minimized.

@kristerkari

This comment has been minimized.

@grabbou
Copy link
Member Author

grabbou commented Oct 2, 2019

Unfortunately, there was a React Native-wide permission issue which didn't let me push any commit upstream, making it impossible to make a release.

Apologies for those who have been waiting for a release, the issue is now fixed, PRs are being submitted, the release will be out in a matter of hours.

I will keep you updated.

@owinter86

This comment has been minimized.

@grabbou
Copy link
Member Author

grabbou commented Oct 2, 2019

All commits cherry-picked. Testing them now.

@kristerkari, as pointed out in the first comment in this issue - please point to commits, rather than issues. I do understand this may be causing you and many other people issues, but unless it's a regression, there's nothing we can do here without further debugging.

@grabbou
Copy link
Member Author

grabbou commented Oct 2, 2019

Let's continue in #148. The release will be out on npm shortly.

@grabbou grabbou closed this as completed Oct 2, 2019
@kristerkari
Copy link

as pointed out in the first comment in this issue - please point to commits, rather than issues.

Sorry about that @grabbou . It's just that there is no place where to report bugs that would need a fix + be included in a patch release. The bug reports in facebook/react-native get easily lost with people opening new issues all the time.

@grabbou
Copy link
Member Author

grabbou commented Oct 2, 2019

It's all right! I just wanted to explain the fact there's nothing I can do about it "right now". Hoping it can be fixed in the nearest future

@react-native-community react-native-community locked as resolved and limited conversation to collaborators Oct 3, 2019
@kelset kelset unpinned this issue Dec 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport request Cherry picking a change into an existing release stable Stable version
Projects
None yet
Development

No branches or pull requests