I'm creating a blog template that generates a div
with the main content within (articles, lists of posts, authors, etc.). This content is parsed by JavaScript when the page loads and then removed, to be rendered differently elsewhere.
I know that web crawlers can execute scripts nowadays, so, is it a bad practice for SEO to modify or remove tags where the main content is in?
Edit: to give more context to my question, the content is removed from the document but then re-added with a JS framework (Vue.js in this case). My approach was to use the initial data for SEO purposes, since I can't use Server Side Rendering on my project and I'm building a template for WordPress.