I was working on a dynamic Web Panel via this guide, and because I need to load in content that isn’t static, However, the documentation for ContextProvider is somewhat sparse, and there are several other ways of accomplishing the same objective. As such, I just want to be sure that ContextProvider is still the preferred way of adding dynamic content into a Web Fragment.
It is not marked as deprecated in 4.1.0 of atlassian-plugins-webfragment-api (Confluence uses 4.0).
So unless you’ve heard differently - then nope. But like you said there might be otherwise of doing it - it all depends on what you’re trying to do.