Coder Social home page Coder Social logo

templar's People

Contributors

sfeaster avatar shamarifeaster avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

kbass-zero

templar's Issues

Templar.done() firing prematurely

State.comilationThreadCnt is hitting 0 and the final block is running and then threads are returning resulting in the subject line.

DMA listeners don't fire unless DMA is bound to DOM element

A user may want to for changes to a DMA that is not bound to the DOM, but exists strictly for book keeping purposes. When changed this book keeping may trigger some change in the DOM or cascade the change through the application state.

Current;y, interpolate() does not dispatch event listeners unless the event object has a type (ie a tagName).

Need onDestroy life cycle phase

Currently Templar sets lots of listeners but doesn't unbind them. Also it doesn't provide an APi to allow user to cleanup listeners bound to repeats.

Notify of un-fired success listeners

I noticed when changing partial names that their listeners failed silently. In a large project this would be time consuming to track down the silent fails. Logging this would help.

hideIf Attribute value not updating

When using an array length prop as the value, the attribute is not re-evaluating on change of the array length.

See: partials/Ad-Search/ad-list.html

Increase select attribute change event granularity

The user would benefit from being able to distinguish whether a select attribute has changed due to a.) a clobber-set (as with a cascade) b.) a user selections c.) programmatic setting through 'current_selection.'

Repeat flashing, unwanted scroll to top

If I have a large, unpaged repeat and I change the state of an index far down the page,
the rebuilding of the entire repeat a.) causes the repeat to flash and b.) scrolls the user
up to the top of the page.

It seems the time has finally come for me to address my "scorched earth" repeat methodology

Track loaded UI state

This would allow Templar to diff the current state from the requested state and load the diffs. This would reduce unnecessary compilation and server requests if those handlers had out bound requests.

Re-use existing repeat DOM

Rather than destroying and rebuilding the DOM on repeat attribute update, Templar should re-interpolate cached nodes in existing DOM.

commit b11f5cd is a partial step towards this.

Partial caching

We could store a partial template and fetch from the cache. This would reduce network requests for redundant templates (ie, nothing has changed in the template)

Two threads share same target during same scope compilation cycle

When routes being fetched, if one of the partials has a "dat-apl-default" in it
, the compiler spawns a fetch thread which may come back after the completion of the original
fetch chain. If the default shares the same target it will clobber the partial from
the fetch chain.

STR (steps to reproduce): click "My Ads" and notice that "Wall" comes up from time to time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.