gmpassos / dom_builder

Helpers to generate DOM elements or HTML
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

Is This Good For SEO? #7

Open jtkeyva opened 3 months ago

jtkeyva commented 3 months ago

Wondering if this can generate real HTML for SEO?

gmpassos commented 3 months ago

SEO involves guiding search engine bots on how to interpret your content. If a bot relies on static HTML, you need to generate that, and dom_builder can handle this task.

If the bot executes JavaScript (as Google does), it will render the content generated by Dart at runtime. The effectiveness depends on how the bot interacts with the rendered DOM. dom_builder can also dynamically build a DOM tree in the browser at runtime.

jtkeyva commented 3 months ago

Sounds like a yes!? Isn't this a breakthrough for flutter then?? Lack of SEO is a big reason people stay away from flutter web.

Can you share and elaborate on how this could work? This seems like a big deal that nobody knows about... Thanks