Jakob Krantz

Results 90 comments of Jakob Krantz
trafficstars

If we do eject, what would we want to do later? https://moduscreate.com/es6-es2015-import-no-relative-path-webpack/ and https://stackoverflow.com/questions/27502608/resolving-require-paths-with-webpack and https://webpack.js.org/configuration/resolve/#resolve-alias

Awesome! #2 Seems nice and easy, still long path will be necessary thought. It will make some things easier, but all component imports will be very long

Just found this: https://www.npmjs.com/package/clientconfig Looks like exactly what we want?

I didn't think of any problem because of react app. Server side it just sends the config as a cookie, which can be retrieved client side. Maybe I miss something,...

I'll give it a test to have config as a cookie, otherwise we'll go with your proposal 2 or 3 :)

Couldn't get clientconfig to work server side, since react-create-app uses webpack proxy. Didn't manage to send the cookie.

As I undertsand with .env the imports client side will need to be `client/src/compoment/Clock.js`? And to import the config it would be just config, since it's in the root directory?...

Okey, thanks for looking into it. Maybe we can just move them into source?

Or there is probably a correct way to have pictures. Like some kind of asset folder. Could look up how it should be done in create react app. I'm a...

@cvinayak I'm pretty sure https://github.com/zephyrproject-rtos/zephyr/pull/50454 fixed the crash, been running for 30 min now without the crash.