nodejs-docs-samples icon indicating copy to clipboard operation
nodejs-docs-samples copied to clipboard

Outdated.

Open xhyabunny opened this issue 1 year ago • 1 comments

https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blame/2c008f81febaacb568eebfcc0f158c9215f8139b/translate/translate.js#L20

require is outdated, you guys should change it to Import.

people working with new frameworks like react.js/vite can not use stuff like "require" on their code

xhyabunny avatar Nov 27 '23 15:11 xhyabunny

@xhyabunny Thanks so much for filing this issue. We'll add it to our roadmap of areas to update samples.

iennae avatar Mar 07 '24 05:03 iennae