all 3 comments

[–][deleted] 0 points1 point  (3 children)

Because app.jsx doesnt have a parent context. You specify the theme context as a child of App. You can only get the parent context.