Skip to content

Commit e60f75f

Browse files
committed
docs(guide): Fix live-preview breaking in DataPipelines guide (#9552)
1 parent ed54711 commit e60f75f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

learn/guides/datahandling/DataPipelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Because RPC and local fetching now share the same architecture, integrating a We
128128

129129
If your project defines an RPC API (via `remotes-api.json`), you don't even need to define the connection manually. You just reference the API endpoint, and the system dynamically constructs the WebSocket pipeline for you.
130130

131-
```javascript live-preview
131+
```javascript readonly
132132
import Container from '../../src/container/Base.mjs';
133133
import Model from '../../src/data/Model.mjs';
134134
import Store from '../../src/data/Store.mjs';
@@ -192,4 +192,4 @@ If you are upgrading from an older version of Neo.mjs, your existing `url` and `
192192
* **Legacy `url`:** If you define `url: 'data.json'`, the Store automatically creates a Pipeline using `connection-xhr` behind the scenes.
193193
* **Legacy `api`:** If you define `api: 'MyService'`, the Store resolves the API definition and builds the appropriate Pipeline (Fetch, Xhr, or WebSocket) dynamically.
194194

195-
However, to unlock advanced features like Data Worker offloading (`workerExecution: 'data'`) or custom Parsers, you must switch to explicitly defining the `pipeline` config block.
195+
However, to unlock advanced features like Data Worker offloading (`workerExecution: 'data'`) or custom Parsers, you must switch to explicitly defining the `pipeline` config block.

0 commit comments

Comments
 (0)