Giter Site home page Giter Site logo

Comments (4)

theKashey avatar theKashey commented on June 15, 2024

I might add a few helpers to allow some fancy/handy operations, but so far it's just working.
Was thinking about allowing wildcard imports via eslint plugin "expanding" the code to make it explicit and TS compatible.

But that's all - nothing planned for the core functionality.

from react-imported-component.

KoderFPV avatar KoderFPV commented on June 15, 2024

Okay, I can confirm that it's working flawlessly in our large e-commerce platform for 3 years already, with no problems at all.

It has problems with TS types from React 18. ImportedController and ImportedStream components do not have children types which is required in R18 but is not a big deal.

Also we thought that this library will be no longer required after migration to R18, but that is not true, what you @theKashey pointed here and also here

Also, we try to migrate from renderToString to streams but with no success. In the past, we thought this library was a blocker but now we think is still a problem with React itself, or with our extremely large codebase.

So @theKashey thank you so much, for your work on lazy/async imports in general for react community :)

from react-imported-component.

theKashey avatar theKashey commented on June 15, 2024

@KoderFPV - I'll look into type issue but R18 streaming is a little more complicated problem - even emotion hasn't figured it out

from react-imported-component.

KoderFPV avatar KoderFPV commented on June 15, 2024

ok, thanks!
I will follow React Community to be updated with streams.
Also, our team will make more attempts someday to implement it

from react-imported-component.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.