Like the video, but is there a step missing? Doesn't run the build or dev script for me at all, despite going over the video multiple times now. I would normally share the error but it was way to big! It seems to be an issue with ReactDom updating root I believe? Never mind - I am an idiot and typed 'outDir' instead of 'outdir'
Thanks! 😃 you probably broke a record for watching quickly! My initial attempt was to do also server components but I need to write a lot more code and it will be for a future video
@@guibibeau Yeah 😅😅. My comment was actually dropped when I was 2 minutes into the video. I really did like the topic of the video and the overall idea 🤔🤔. Superb!
To use it for running commands like bun run dev there is no problem. The issue comes if you install dependencies. It’s better that all use the same package manager to ensure consistency in dependency versions and behavior.
I can't run that example... (note: arrows point to the and ) ``` 5 | root.render(Hello, World!); ^ error: Unexpected > at /opt/lampp/htdocs/pairs/bun/index.ts:5:14 5 | root.render(Hello, World!); ^ error: Syntax Error!! at /opt/lampp/htdocs/pairs/bun/index.ts:5:29 ```
Full disclosure, this was really just an exploration and not meant to be used as the base of an app. I would advise to use vite instead for compiling react.
I get the error: "bun build v1.1.13 (bd6a6051) error: Missing entrypoints. What would you like to bundle?" My Scripts is "scripts": {"build:bun": "bun build", } 😔
Where is video about server side rendering with client components?
The two bun videos did not do super well so I did not invest more time in it.
I might revisit if demand for it is high.
Like the video, but is there a step missing? Doesn't run the build or dev script for me at all, despite going over the video multiple times now. I would normally share the error but it was way to big! It seems to be an issue with ReactDom updating root I believe?
Never mind - I am an idiot and typed 'outDir' instead of 'outdir'
Amazing stuff, Gui! I love this 🤔🤔
Thanks! 😃 you probably broke a record for watching quickly!
My initial attempt was to do also server components but I need to write a lot more code and it will be for a future video
@@guibibeau Yeah 😅😅. My comment was actually dropped when I was 2 minutes into the video.
I really did like the topic of the video and the overall idea 🤔🤔. Superb!
Awesome!
How does this work out in a team setting ? what if I use bun and rest of us use node instead ?
btw installing bun now
To use it for running commands like bun run dev there is no problem. The issue comes if you install dependencies. It’s better that all use the same package manager to ensure consistency in dependency versions and behavior.
I can't run that example... (note: arrows point to the and )
```
5 | root.render(Hello, World!);
^
error: Unexpected >
at /opt/lampp/htdocs/pairs/bun/index.ts:5:14
5 | root.render(Hello, World!);
^
error: Syntax Error!!
at /opt/lampp/htdocs/pairs/bun/index.ts:5:29
```
Full disclosure, this was really just an exploration and not meant to be used as the base of an app.
I would advise to use vite instead for compiling react.
I get the error: "bun build v1.1.13 (bd6a6051) error: Missing entrypoints. What would you like to bundle?" My Scripts is "scripts": {"build:bun": "bun build", } 😔
From that error message you did not specify which filepath to build. Try something like `bun build index.ts`