Comments (2)
Proposed rules for component refresh clean-up:
- If component XYZ is not contained in the DOM, then
A. If component XYZ is registered into a repeatable section AND the repeatable section is still present, then component XYZ gets unregistered.
B. Else if component XYZ does not belong to a repeatable section and there was another (newer) component registered using the same tag name, then component XYZ gets unregistered (because the new component replaces it). - If component XYZ is contained in the DOM, then it does not get unregistered.
from nimbly.
This could be more easily solved by ignoring the unregistration and deletion of components that are registered outside of the ._render method.
from nimbly.
Related Issues (20)
- Log a warning if this.data is modified in a _render method. HOT 1
- Figure out why <p> tags can't be containers.
- Produce a more helpful error message and stack trace when a uiBinding or dataBinding method doesn't exist. HOT 1
- Specify in the README that the default value for delayInit is false. HOT 1
- Add a warning if a fetch method never resolves or rejects HOT 1
- Add the ObservableSlim `change` that triggered a `dataBinding` to the arguments of the handler method.`
- Document all lifecycle hooks in README HOT 1
- Consider a boolean flag in the config that allows dataBindings to trigger while `preventRender:true` (required) initList methods are running HOT 2
- Throw an error if the loadingTemplate isn't valid HOT 1
- IE-11 throws error for _afterInDocument
- Improve ease of unregistering components that are registered during the _render method. HOT 2
- Document the isReady method on the README
- Add whenReady to complement isReady by returning a Promise
- Add support for es6 imports HOT 1
- Provide a quick start or sample component that uses imports
- Improve child component registration, reduce coupling
- Remove jQuery dependency
- GitHub actions test
- GitHub actions test #2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nimbly.