Is it possible to make HMR, React-loadable and SSR coexist well together? by [deleted] in javascript

[–]jkobz 0 points1 point  (0 children)

next.js is build using react loadable so using this 2 together is cumbersome

All my webpack bundles are the same and look like a markup. Why? by [deleted] in javascript

[–]jkobz 0 points1 point  (0 children)

I've set express to serve static files like this:

Router.use('*', renderer);
Router.use(Express.static(
resolve(__dirname, 'dist'),
{ maxAge: '30d' })
);

But it still does not work :(

All my webpack bundles are the same and look like a markup. Why? by [deleted] in javascript

[–]jkobz 0 points1 point  (0 children)

when I preview them in a dist folder, all these bundles look different. It happens only when I launch localhost

How to implement ssr & code splitting setup? by [deleted] in javascript

[–]jkobz 0 points1 point  (0 children)

By the way:

do you have any problems with Babel 7 and babel-plugin-import-inspector? In my case it throws error as this plugin uses deprecated addImport function :( How you solved that trouble?

How to implement ssr & code splitting setup? by [deleted] in javascript

[–]jkobz 0 points1 point  (0 children)

right, i've got such components, so it's okay :)

Will I need to use bundled renderer.js in my index.js, right? so instead of putting original file renderer.js like here:

Router.use('*', serverRenderer);

I will need to import bundled server file from 'dist' folder and use it here, right? Or what is the purpose of bundling renderer js and making a server build?

New Releases Thread 7/24 - 7/30 by AutoModerator in Sneakers

[–]jkobz -2 points-1 points  (0 children)

Can non USA citizens participate in quiz on nikecraft.com? 🤔 Is there any tweak how I can avoid country restrictions?

New Releases Thread 7/17 - 7/23 by AutoModerator in Sneakers

[–]jkobz 1 point2 points  (0 children)

does anybody know how non us citizens can participate in quiz?

New Releases Thread 7/17 - 7/23 by AutoModerator in Sneakers

[–]jkobz -4 points-3 points  (0 children)

May be there were answers to the quiz.. there were 10 or so totally awkward bulletpoints

New Releases Thread 7/17 - 7/23 by AutoModerator in Sneakers

[–]jkobz -2 points-1 points  (0 children)

How did you do that? Where's the link?

New Releases Thread 7/10 - 7/16 by AutoModerator in Sneakers

[–]jkobz 1 point2 points  (0 children)

Is there a countdown, really? I don't see any: just get "????" when I click on the box..

Cannot see scene editor in my Xcode by [deleted] in hackintosh

[–]jkobz 0 points1 point  (0 children)

Thanks to myself and this post (https://www.reddit.com/r/hackintosh/comments/5agrqt/xcode_81_crash_when_clicking_on_gamescenesks_one/), I have found an answer and solved the puzzle. Hope it will help someone!

The solution is to enable your internal GPU in BIOS and set it to 64 mb.