The latest builds of Discourse are much faster at rendering topics thanks to our re-written post stream . I’ve written up our new plugin API but so far haven’t explained how the code all fits together. The purpose of this topic is to allow Discourse developers to understand how the new code works.
What’s a Virtual DOM?
A Virtual DOM is a data structure that enables browsers to re-render dynamic content very quickly. The technique was pioneered by React but has since been integrated into many ot…
Now I know how to write a widget and display it via plugin. But how can I replace discourse’s existing widget like ‘hamburger-categories’ with my own custom widget.
eviltrout
(Robin Ward)
July 18, 2016, 8:07pm
2
If you createWidget
with the same name (hamburger-categories
) it should replace the existing one with yours.
7 Likes