Get topic id when the topic show page loads

A full blown topic object is loaded on the client side when you load the topic page. Now if you want to use it, you need to add your own code to the template to use that data, or reopen classes to utilize the loaded data(i.e. basically creating your own computed props and utilizing them on the template). It has most of the data you need(more than you need probably) loaded on the client side without extra API calls. You also need plugin-outlets to put your own markup on existing templates.

Now it would help if you looked through the codebase/meta for the terms I used above. I’ll be happy to help here if you get stuck in the best of my capacity timewise. Cheers.