question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trying to learn the new api, and migrate old admin code from 1.x branch to new api. A reference documentation as WIKI for api would be really helpful. It can be just one line description and sample usage, not a lot.

e.g.

I am unable to find what API i have to use to show navbar in layout

function LayoutView(vm, layout) {
	layout.nav = new Navbar({title: 'Admin'});

	return function() {
		return el("div", [
			layout.nav.view,            /// ??????
			el(".container-fluid")
		]);
	}
}

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:27 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
leeoniyacommented, Feb 10, 2017

confirmed, thanks. the irony of a browser-freezing bug in a Freezer demo is not lost on me.

so far i’ve narrowed it down to the reconciliation algo never hitting an exit condition out of this while loop [1]. should have a fix hopefully soon.

[1] https://github.com/leeoniya/domvm/blob/2.x-dev/src/view/syncChildren.js#L131

1reaction
iamjohnlongcommented, Feb 10, 2017

I get your points, it’s less about the todo app itself and more thinking about how I would structure a large application using freezer and domvm. If I were writing a todo app for what it’s worth I would write it in vanillajs, or the most optimized solution would be a pencil and paper.

Read more comments on GitHub >

github_iconTop Results From Across the Web

API:Main page - MediaWiki
This page provides an overview of the MediaWiki Action API. This page is intended for technical contributors and software developers who ...
Read more >
API - Wikipedia
An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type...
Read more >
Project wikis API - GitLab Documentation
The project wikis API is available only in APIv4. An API for group wikis is also available. List wiki pages. Get all wiki...
Read more >
Is there a Wikipedia API? - Stack Overflow
Wikipedia is built on MediaWiki, and here's the MediaWiki API. ... If you want to extract structured data from Wikipedia, you may consider...
Read more >
Wikipedia API | ProgrammableWeb
The unofficial Wikipedia API. Because Wikipedia is built using MediaWiki, which in turn supports an API, Wikipedia does as well.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found