Deno 1.38 features HTML documentation, hot module replacement
Briefly

Deno 1.38 features HTML documentation, hot module replacement
"Unveiled November 2, Deno 1.38 offers "significant" improvements to the deno doc command, highlighted by an ability to produce documentation using a new deno doc --html feature. When selected, deno doc produces a static site with documentation. Deno 1.38 also features a capability for hot module replacement; an --unstable-hmr flag detects changes and reloads the server while preserving state. The latest version of Deno also has Node.js compatibility improvements, making it easier to use Deno when migrating from Node."
"The Fresh 1.5 Deno-native framework for building full-stack web applications, introduced October 10, features a new approach to client-side navigation, called Partials, which uses HTML attributes to configure Fresh applications to replace HTML in an already-loaded page using server-rendered markup with no page reload. This style of navigation makes an application feel more responsive and prevents loss of state in client-side island components across page turns."
Deno 1.38 introduces deno doc --html to generate static-site documentation and an --unstable-hmr flag for hot module replacement that reloads servers while preserving state. The release improves Node.js compatibility and permits installing and running NPM modules from Deno, with the NPM feature marked unstable. Developers can upgrade via the deno upgrade command and consult installation instructions for new setups. Fresh 1.5 adds Partials for client-side navigation using HTML attributes to swap server-rendered HTML without full page reloads, preserving client-side island state and simplifying active-link styling via HTML attributes.
Read at InfoWorld
Unable to calculate read time
[
|
]