HiveReactKit v1.2.5 adds state restoration, scroll persistence, URL-driven navigation, and smarter bookmarks.
You know the heartbreak: you scroll halfway down a community feed, open a juicy post, hit back... and the app forgets you ever existed. Well, HiveReactKit v1.2.5 says not today. ๐
CommunityDetail now supports controlled activeTab and postSort state through props and callbacks. Translation: your host app can drive navigation straight from the URL. Deep-linking? Predictable. Navigation across Hive apps? Consistent. Future you sending a link to past you? Finally works. ๐
We added cache-based restoration for:
And it's smart enough to remember all of that per Community ID, per Active Tab, and per Selected Sort. Wander off, come back, and pick up exactly where you left off โ no awkward "where was I?" energy.
Community State Restoration
CommunitiesList now keeps your loaded items, search queries, and scroll position alive. Returning to the Communities page no longer drops you at square one like a video game checkpoint you never reached. Efficiency, unlocked. โ
Communities List and tab Persistence
Not every app wants the same behavior, so we added shouldRestoreScroll. Host apps decide when state gets restored. Maximum flexibility for those of you with delightfully opinionated navigation setups.
Ah, React StrictMode and its chaotic double-render gremlins. ๐ We built the restoration logic to survive it โ no unwanted scroll resets in development, rock-solid behavior in production. Sleep peacefully, devs.
The bookmark toggle in the post detail header now automatically provides the post title and a body excerpt โ no more separate data-fetching gymnastics. Custom bookmark systems? Way simpler. Fewer API calls. Faster workflows. More time for you to focus on actual features instead of plumbing. ๐งฐ
Bookmark Toggle Enhancement
Every one of these improvements is reusable infrastructure that lifts multiple Hive apps at once. Smarter navigation, smoother restoration, less boilerplate, more consistency. Open source for the win. ๐
We're just getting warmed up. More restoration polish, more developer-friendly components, and more "wait, it just works?" moments on the way. Stay tuned โ the devlog continues. ๐
๐ HiveSuite App | ๐ณ๏ธ Vote @sagarkothari88 as Witness | ๐ฌ Support via Discord
โถ๏ธ 3Speak