# Read session props changes in the Perspective

**URL:** <https://forum.inductiveautomation.com/t/read-session-props-changes-in-the-perspective/110385>\
**Category:** Module Development\
**Tags:** perspective\
**Created:** [September 4, 2025, 5:01pm UTC](https://forum.inductiveautomation.com/t/read-session-props-changes-in-the-perspective/110385 "2025-09-04T17:01:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 4, 2025, 6:50pm UTC](https://forum.inductiveautomation.com/t/read-session-props-changes-in-the-perspective/110385/5 "2025-09-04T18:50:24Z")

</div>

> [@Perspective Component Detect Theme Change](https://forum.inductiveautomation.com/t/perspective-component-detect-theme-change/107242/5):
>
> You should be accessing the session properties from the tree attached to the PageStore: props.store.clientStore?.page?.sessionProps?.subscribe((tree) =\> console.log(tree.read('theme')) )

Note my earlier caveat in that post - you might just want to react to the theme via CSS, not attempt to read it from JS, but 🤷

---

_[View the full topic](https://forum.inductiveautomation.com/t/read-session-props-changes-in-the-perspective/110385)._
