Back to Cordova

2021 06 29

slack-digest/2021-06-29.md

latest1.5 KB
Original Source

Cordova Slack Digest

Tue, 29 Jun 2021 08:24:20 GMT

User count: 4536

Join the conversation at slack.cordova.io

Channel #general (1 messages)


Mon, 28 Jun 2021 13:09:29 GMT

@norman137 says

I'm not familiar with next.js but based on a short description:

> Next.js is an open-source React front-end development web framework created by Vercel that enables functionality such as server-side rendering and generating static websites for React based web applications. While it is possible to load your webview from a remote source, it's not recommended. Code that is loaded in remotely isn't allowed to call on any native APIs (either directly or indirectly) by the Apple & Google store policies and it's harder to handle cases such as if the user is offline.

If next.js supports rendering a static website at "compile time" so that it produces a set of html / css / js files, then that would work great with Cordova. After all, Cordova is really just a packaging tool that packages your web assets in a native shell and loads those web assets into a webview.

Channel #cordova-electron (1 messages)


Mon, 28 Jun 2021 16:36:47 GMT

@prasunjajodia says

Hi guys,

I've been trying to update my electron project from 1.1.1 to 2.0.0. And I'm getting a build error Cannot find module 'fs/promises' . I currently have node v12.22.1. Do I need to install node promises as a dev dependency?