Back to Blog

Rasengan v1.1.3 - Introducing ScrollRestoration

posted on August 30, 2025

Rasengan v1.1.3 is now available on npm.


In this post, we will talk about the new features of Rasengan v1.1.3 and how you can adopt them into your projects.

For a list of breaking changes, see the Change log.

What's new in Rasengan v1.1.3?

Introduction of ScrollRestoration component

Rasengan v1.1.3 introduces you the ScrollRestoration component. It is a special component that is used to restore the scroll position of the current page.


To use this feature, you have to put the <ScrollRestoration /> component where you want to restore the scroll position, generally in your root layout.

src/app/app.layout.tsx
tsximport { LayoutComponent, Outlet, ScrollRestoration } from "rasengan"; const AppLayout: LayoutComponent = () => { return ( <> <ScrollRestoration /> <Outlet /> </> ); }
Learn more about the ScrollRestoration Component
Details

Logs update into @rasenganjs/serve package

When hosting your application on production or just trying to preview your application in a production environment, you have to use the @rasenganjs/serve adapter package.

This package is a simple and fast way to deploy your application on a private server (VPS).


This new release also updates the @rasenganjs/serve package to the latest version, by adding some new features and fixing some bugs.

  • Added --port option to specify the port on which the server will run
  • Enhanced the logs to be more readable and identifiable by adding timestamps for each log
Learn more about the @rasenganjs/serve package
Details

Fixing bugs into rasengan regarding file-based routing

This new release also fixes some bugs into rasengan regarding file-based routing.


Learn more about Rasengan.js documentation and have fun Ninja!