Paweł Gulbinowicz

Results 107 comments of Paweł Gulbinowicz

@friederbluemle yeah it was out of date. I've updated it. Apart from those tasks I'm not sure what else could be done in `logkitty`. If you have any ideas, feel...

Synchronous imports right now are not possible, maybe in the future with TurboModules/JSI it might be doable. How are you exactly trying it?

`eager: true` should be set for at least `react` and `react-native`. For which dependency in which container's config are you setting the `eager: true`?

The constraint is on the React Native side. There's no API to download and evaluate JavaScript especially asynchronously. There's no `importScripts` for example. So to even support MF Re.Pack provides...

@tom-sherman Could you explain what you mean by `sync import federated modules`? I want to make sure when we talk about _syncronously importing_ code, we're talking about the same thing.

I have doubts that's the case. I'm working on a next major version of Re.Pack with better MF support and I got synchronous imports for remotes working without manually initialising...

Yup, there's a `v3` branch and some other branches based on `v3`, you can track progress here: https://github.com/callstack/repack/projects/4

I'm currently working on Re.Pack 3 which solves almost all of the problems around MF. The progress can be tracked here: https://github.com/callstack/repack/projects/4

I think the only viable route for investigation is to use https://webpack.js.org/concepts/module-federation/#promise-based-dynamic-remotes and using Re.Pack's `ChunkManager.loadChunk` API inside.

I'm wondering if this `const { ChunkManager } = import('@callstack/repack/client');` will work at all. Have you tried regular import `import { ChunkManager } from '@callstack/repack/client'`?