tsarapke

Results 20 comments of tsarapke

Have tried to create "proj2 (https://github.com/tsarapke/proj2.git)" with Webpack 5 avoiding `react-scripts`. So yes, it could not find workerized chunk. It throws 404 error. ![image](https://user-images.githubusercontent.com/7983863/108513595-e0cb0700-72d3-11eb-9e6d-edc4ff0fae1b.png) So... is it actually a bug...

Regarding first point, as far as I know, at the moment some work is being done towards migration (have no idea how long it would be). As for the second......

Any chance(plans) to get it fixed in near future? This actually blocks a case when lib and project does not depends on `react-scripts`. So you can't make it work with...

@alexander-akait there is already provided case by @dandansoysauce. In a few word, if I have library with WebWorker and some application that builded with Webpack 5 but not with RCA,...

You can read my first message in this topic > Adding new Worker construction in library, produces additional chunk in build result (what is quite expected). How I can make...

What if the source code of the library should be closed to its users? For third-party developers who are planning to build their system based on the library?

@markerikson Unfortunately no, it doesn't. It solves the issue with type of `const store`, so it doesn't of `any` type anymore. But `RootState` still circularly references itself. ![image](https://user-images.githubusercontent.com/7983863/195509422-0d4fc01b-66bc-4e7d-97e0-9d94fd69639d.png)

@phryneas It also doesn't help. At reproduction link, I've already specify return type of slice. V1: ![image](https://user-images.githubusercontent.com/7983863/195524364-d6758851-c40c-4b68-83d7-4479995a13e1.png) V2 ![image](https://user-images.githubusercontent.com/7983863/195524484-b085e5ff-cc96-4ca2-853a-013f7ac0a3f2.png)

@phryneas There are **only 2** slices, created by the **same creator** ![image](https://user-images.githubusercontent.com/7983863/195535176-698d8f19-38bf-476e-b87f-d7d6ca01d259.png) Slice at row 6 is fine. Slice at row 7 is not. But they are created by the...

`fetchImage2` rely on `RootState`. `fetchImage2` is async thunk where we want to use `getState`. ![image](https://user-images.githubusercontent.com/7983863/195790162-8e023641-b07e-475d-8a9f-a1bf0b90c8bf.png) `ImageState` doesn't rely on `RootState`. `ImageState` is a part of `RootState`. ![image](https://user-images.githubusercontent.com/7983863/195790533-cc5e56c1-6b91-4fbe-b2cc-6a9099a855e5.png)