Jonathan Xi

Results 6 comments of Jonathan Xi

FYI the workaround that we used at our project. 1. Extract Lazy and Suspense to a Loadable component. E.g., ```jsx // Loadable.js import React, { Suspense } from 'react'; import...

We are also facing the similar shallow issue (mount works fine) for state callback in UNSAFE_componentWillReceiveProps. Here is an example to reproduce the issue. ```jsx class Foo extends React.Component {...

For anyone who is facing the issue in a CRA repo, one workaround is to eject from CRA and add the cjs support, e.g., https://github.com/facebook/create-react-app/pull/12021/files#diff-8e25c4f6f592c1fcfc38f0d43d62cbd68399f44f494c1b60f0cf9ccd7344d697R467, another workaround is to customize...

Same here, met exactly the same issue after upgrading to jest 28, and have to downgrade back to 27 to make the original tests work...

> Instead of using the Python SDK, call the REST API directly, using a streaming JSON parser (ex. [json_stream](https://github.com/daggaz/json-stream)) to extract only the desired content. This is definitely a solution...

Hi @Lxstr, could we consider merging this PR? We're using AWS ElastiCache with Redis Cluster, but `flask-session` currently attempts to connect to a local Redis instance by default. As a...