Tobbe Lundberg

Results 293 comments of Tobbe Lundberg
trafficstars

Actually trying this code I get an error like ``` Error [RollupError]: src/pages/AboutPage/AboutPage.tsx (6:9): "Metadata" is not exported by "../node_modules/@redwoodjs/web/dist/components/Metadata.js", imported by "src/pages/AboutPage/AboutPage.tsx". file: /Users/tobbe/tmp/rw-rsc-metadata/web/src/pages/AboutPage/AboutPage.tsx:6:9 ``` It's interesting that it...

Looking into this a bit more, it actually does look like it's us that are using context. `Metadata` imports `PortalHead` which imports `ServerInject`, and `ServerInject` uses context. So that's *probably*...

`yarn rw g component Button AdminPage/UsersCell/UserRow` I really like how this gives more flexibility to our users! But I'm a little concerned about DX Because there's no auto-complete when writing...

@cjreimer Just a heads-up that Danny is traveling. So might not see this until next week

Thanks for your well written issue report @will-ks The team prioritizes React Server Components right now, and won't have time to look into this for a few weeks/months. If someone...

@jtoar highlighted to me that this PR currently only changes how the main CLI entry point loads the env files. We also need to change how this is handled when...

I just now randomly found out there's some prior art on the flag naming with node's v20.6.0 release: https://nodejs.org/en/blog/release/v20.6.0 `node --env-file=config.env index.js` There are also some good discussions in the...

So what we could do, to keep that same naming convention, and also get around the "how do we let people know that it's additive?" question. Plus make it really...

> So: > > 1. Should there be some safety net to handle override, collision ? > 2. Should when used it output the current value of envars that `yarn...

FWIW, when starting the NextJS dev server they print the list of loaded .env files (but not the actual env vars) ![image](https://github.com/redwoodjs/redwood/assets/30793/2eb58c59-28c3-4ea6-a64b-1036ee0b1f3c) > * I don't really think you should...