https://github.com/hedaukartik/bun-react-csr-base
Client side rendering React App tooled with Bun template
https://github.com/hedaukartik/bun-react-csr-base
bun csr react react-router-dom-v6
Last synced: 8 months ago
JSON representation
Client side rendering React App tooled with Bun template
- Host: GitHub
- URL: https://github.com/hedaukartik/bun-react-csr-base
- Owner: hedaukartik
- License: mit
- Created: 2024-02-21T13:16:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T05:12:57.000Z (about 2 years ago)
- Last Synced: 2025-04-07T22:11:10.468Z (about 1 year ago)
- Topics: bun, csr, react, react-router-dom-v6
- Language: TypeScript
- Homepage: https://bun-react-csr-hedaukartik.koyeb.app/
- Size: 63.5 KB
- Stars: 19
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
React client side rendering apps tooled with Bun
Powerful React app building using Bun runtime, bunder, transpiler, package manager, and test runner.
`bun` `react` `csr` `typescript` `scss` `react-router-dom-v6`
## You need `bun` installed in your system for this template:
```bash
curl -fsSL https://bun.sh/install | bash # for macOS, Linux, and WSL
```
### To use this template to start a new react client-side rendering project from scratch:
```bash
bun create https://github.com/hedaukartik/bun-react-csr-base name-of-your-project
```
### To install dependencies:
```bash
bun install
```
### To run:
```bash
bun dev
```
This project was created using `bun init` in bun v1.0.25. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
### node_modules after first working react app-

### Known issues to fix:
* [x] Routing using react-router-dom during CSR.
* [x] Page refresh on sub-routes should show the correct screen and not file not found.
* [x] If any file is changed in the `./src` folder, a new build should be created to show the latest changes.
* [x] When lazy loading components, bun bundler does not import the files as expected to fix. https://github.com/oven-sh/bun/issues/9151
* [x] Fix css, scss loader issues.
