• react
    ASP.NET Core,  CSS,  React,  SPA

    route transition for redux-little-router, react ASP.NET Core

    [crayon-62848864602ba299778789-i/] is a good client side routing library for project that uses [crayon-62848864602c1999963640-i/] and [crayon-62848864602c3804687619-i/]. However, adding transition to the route pages could be tricky. [crayon-62848864602c4020566216-i/] provides a react component [crayon-62848864602c5047145153-i/] for use to define the route pages. Each route page component will be wrapped by a [crayon-62848864602c6100700779-i/] component. As far as I know (after looking at the coding), [crayon-62848864602c7484185669-i/] component will render the route page…

  • react
    CSS,  Javascript

    Prevent body scrolling for safari/chrome

    Prevent body scrolling when showing modal dialog or popup with overlay. Any content in the background should not be moving. That’s because the user actions and experience should focus on the popup/dialog and any movement (scrolling) in the background could cause confusion. And it becomes more annoying when you try to scroll the content of the popup/dialog but ended up it’s…

  • react
    CSS,  React

    react route transition css: css-transitioner

    css-transitioner is a small footprint React wrapper component to enable react route transition (i.e. perform transition when changing route page). It works with client side routing to switch between pages. It all started out when we wanted to add transition to our page routing, instead of switching pages in a flash. However, we couldn’t find an easy way to make…