Frontmatter
| tagName | 9.2.0 |
| name | examples.serverside.toolbarItems |
| publishedAt | 5/23/2025, 12:55:36 PM |
| isPrerelease | |
| isDraft |
examples.serverside.toolbarItems
- New example, which contains a viewport with an empty toolbar & a button to load the toolbar items from a JSON file
- It demonstrates that we can easily do "server-side" run-time updates
- It demonstrates that JSON reduces network traffic compared to XML
- It demonstrates that fetching neo component trees significantly reduces traffic compared to passing DOM trees
Code: https://github.com/neomjs/neo/blob/dev/examples/serverside/toolbarItems/Viewport.mjs https://github.com/neomjs/neo/blob/dev/examples/serverside/toolbarItems/resources/data/toolbar-items.json
Online Demo: https://neomjs.com/dist/production/examples/serverside/toolbarItems/
Online Demo Dev Mode: https://neomjs.com/examples/serverside/toolbarItems/