Skip to content

Commit 564e66b

Browse files
committed
docs: update readme
1 parent 4bd6c54 commit 564e66b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ With traditional Electron development, if you want to use Node.js modules in you
153153

154154
This requires careful coordination between multiple files and introduces complexity:
155155

156+
### 🙅‍♀️ Not fun way:
157+
156158
```javascript
157159
// preload.js
158160
const { contextBridge, ipcRenderer } = require('electron')
@@ -212,7 +214,7 @@ With Electron SSR, you can simply define a route handler that:
212214
2. Returns HTML with the results already integrated
213215
3. The renderer just makes a request and gets the rendered result
214216

215-
Here's an example with HTMX:
217+
### 😊 Fun way with Electron SSR:
216218

217219
```javascript
218220
// In your main process setup

0 commit comments

Comments
 (0)