You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently dynamic imports don't work on server-side. (works)
When error-overlay displays compile error and the browser window is refreshed, there's blank page, instead of SSR rendered error overlay for compile error, as it's done with the runtime SSR error overlay (not sure if this can be done easily). (Fixed in fix: 🐛 Fixed issue with displaying compile errors in overlay #210)
README and documentation missing for new packages (@ima/cli, @ima/dev-utils, @ima/error-overlay, @ima/hmr-client).
Define exports fields in package.json on @ima/dev-utils to have nicer imports along with Typescript 4.7 update (when released)
Auto generate $Runner assets ($Source) at build-time (GenerateRunnerPlugin extension)
Content hashes can be used in this case for cache busing, instead of the ?v=[version] param (this results in faster load times in dev)
We would no longer need to define $Source asset paths in environment.js, however we still need to have an option to define custom attributes or conditional renders for each asset.
Try to get webpack-dev-middleware to work with in-memory assets only. Currently every HMR update is writtenand served from disk. webpack-dev-middleware has an option to serve these updates directly from memory using memfs. (may have something to do with HMR not working on webpack 5.66.0 webpack/webpack#15206)
TODO
core
globals from setupFile are not visible to TS compiler (using, extend), some tests are commented out
RouteOptions type is defined in core but is using ComponentType from react - core should not have react dependency
react-page-renderer
some tests with jest fake timers do not work (timeout) and are commented out
jest.config.js needs polishing (copy config from core)
types from core has to be removed in favor of new defition files from core (after core is in TS)
ClientPageRenderer and LegacyClientPageRenderer has to be removed from index.ts and compiled separately
This issue will be updated as new fixes/features are merged to next or new issues are discovered.
The text was updated successfully, but these errors were encountered:
This issue tracks progress towards IMA@18 release.
Missing features
legacy
version fromima.config.js
Known issues
Currently dynamic imports don't work on server-side.(works)@ima/cli
,@ima/dev-utils
,@ima/error-overlay
,@ima/hmr-client
).extractSourceMappingUrl
in@ima/dev-utils
can probably be simplified. fix: 🐛 Replaced source-map with source-map-js #218 (works as intented, replacessource-map
withsource-map-js
pkgnpm run dev
(e.g. already running app on 3001 is closed before starting new one, sonpm run dev
never fails in these situations). feat: 🎸 Kill already running app on the same port before launch #213Potential improvements (don't need to be ready for IMA@18 release)
@ima/helpers
to esm. refactor: 💡 Rewritten helpers to esm modules #214exports
fields in package.json on@ima/dev-utils
to have nicer imports along with Typescript 4.7 update (when released)Auto generate $Runner assets ($Source) at build-time (GenerateRunnerPlugin extension)Content hashes can be used in this case for cache busing, instead of the?v=[version]
param (this results in faster load times in dev)We would no longer need to define $Source asset paths inenvironment.js
, however we still need to have an option to define custom attributes or conditional renders for each asset.Try to getwebpack-dev-middleware
to work with in-memory assets only. Currently every HMR update is writtenand served from disk.webpack-dev-middleware
has an option to serve these updates directly from memory usingmemfs
. (may have something to do with HMR not working on webpack 5.66.0 webpack/webpack#15206)TODO
core
react-page-renderer
This issue will be updated as new fixes/features are merged to next or new issues are discovered.
The text was updated successfully, but these errors were encountered: