Details
-
Task
-
Resolution: Unresolved
-
Major
-
tech-debt
Description
We had a user deliver some feedback about some of the code samples used in the "Start using the SDK" documentation for Node.js:
- Incredible indecisions (to ref second, third image taken from https://docs.couchbase.com/nodejs-sdk/current/hello-world/start-using-sdk.html) in Hello Couchbase session, Couchbase Capella (JavaScript) uses CommonJS Modules, but if we go Couchbase Capella (TypeScript), uses ES Modules? w-what? if we go third part? (Local Couchbase Server), back to CommonJS Modules.
If it was intentional to switch back and forth between CommonJS and ES, then perhaps we should clarify this in the surrounding documentation.
If it wasn't we should make the code samples consistent on this page.
Attachments
Issue Links
- is blocked by
-
JSCBC-1254 Hello World code examples
- Open
- relates to
-
DOC-9980 In the Cloud Section of the SDK
- Open