dotNetify v3.7 Release Notes

Release Date: 2020-05-14 // almost 4 years ago
  • 🚀 This release provides the much-needed enhancements to the React router, i.e. support for lazy-loading through integration with Webpack code splitting, 404 error handling, and server-side rendering.

    Doc: https://dotnetify.net/core/api/routing

    🔋 Features

    • 👌 Support lazy-loaded routes by allowing onRouteEnter to return a promise object and defer the routing until the promise (which should be used to dynamically import the view components) is resolved.
    • Include onRouteEnter in the connect's options argument.
    • ➕ Add enableSsr (client-side) and useSsr (server-side) APIs to support server-side rendering.
    • Router will now request '/404.html' when the path cannot be resolved.
    • 👍 Allow the route template to accept wildcard (*) URL pattern to catch 404 errors.

    🐛 Bug Fixes

    • 🛠 Fix useConnect to merge the existing state with the new state instead of replacing it (#237).
    • 🛠 Fix routing so it can match "/" paths.
    • 🛠 Fix JObject.Parse exception in Update_VM when using System.Text.Json (#239).