github MoOx/phenomic 0.18.0

latest releases: v1.0.0, v1.0.0-beta.11, v1.0.0-beta.10...
7 years ago

🎉 Optimistic loading is now a thing!
You can see this in action on Phenomic documentation by throttling the network
connection using your browser developer tools with a slow connection.

phenomic-optimistic-loading

This release should not bring any major breaking change so you should be
available to update very easily (probably by just bumping version number and renaming webpack.config.babel.js to webpack.config.js)
.

  • Added: layouts can now receive partial data accompanied with a loading flag
    (isLoading props)
    Now, if you remove your PageLoading layouts, you will automatically receive partial data in the correct (future) layout (only head, body won't be defined until isLoading is != true).
    Should not be a breaking change if you do still use PageLoading.
    If you still use PageLoading, you can define a static property in some
    layouts to tell Phenomic to send an isLoading props to your specific
    layout instead of using PageLoading for this specific transition.
    You can refer to the minimal change you can do in the docs code if you want to replace PageLoading usage by optimistic loading via isLoading props.
    This probably allows you to handle page transitions more easily since similar
    layouts won't be unmounted.
    (#855 - @DavidWells & @MoOx)
  • Added: If site is already open in Chrome on macOS, we reuse the existing tab
    instead of opening a new one
    (#854 - @DavidWells)
  • Added: less restriction on babel-register hook
    You can now use webpack.config.js instead of
    webpack.config.babel.js and so import es2015 files in webpack
    configuration file.
    (#450 - @MoOx)
  • Removed: webpack build notifications
    If you want to add notifications back, please directly use
    webpack-notifier.
    We will add a better, more accurate option later
    (#859 - @MoOx)
  • Added: support of text, textile, text2tags, asciidoc file extensions
    for clean urls

    (#852 - @MoOx)

Don't miss a new phenomic release

NewReleases is sending notifications on new releases.