still tracking down a bug in the experimental sync/async parser...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-12-11 22:35:54 +03:00
parent 510b549b85
commit 3e5a6e613e

View File

@ -40,7 +40,19 @@
*
* XXX ASAP make parser's .expand(..) (tesing on ._expand(..)) sync/async...
* ...still different...
* ...potentiall we aren't handling one or more of the new return types...
* render time seems to be the same so we are rendering the whole
* thing down, but we seem to either be losing the return value(s)
* or context in the new code along the return path...
* getting pages "raw" seems to work fine...
* /moo/_raw (single page, no expansion) -- OK
* /tree/_text (macro + expansion) -- OK
* /* /path/_text (multipage + expansion) -- OK
* ...this breaks down when we use _view!
* ...potential causes:
* - not handling one or more of the new return types up the parser
* .resolve(..)
* .parse(..)
* - not handling the return value correctly in one or more macros
* XXX ASAP need to add error handling to .awaitOrRun(..)
* ...might be even better to make it support the same interface as Promise...
* XXX BUG: for some reason editing the root page ('/') hangs /tree...