ax1 / iridiumjs

🚀 Boost HTML horsepower
MIT License
1 stars 0 forks source link

data-load: decide if dumb loader or smart loading inside the router #2

Open ax1 opened 8 years ago

ax1 commented 8 years ago

By now, [data-load] is performed when the page (main or not) is requested as a web page. When lading the page, all the data-load are processed, but that's the end of the flow.

That leads to misunderstanding, since when a developer uses data-load but he/she wants to navigate forward/backward, the data-load inner pages are not requested by the router. (As it would be if the inner pages where requested from the ir.router(name).configure(()=>{ir.load(...)})

So take one implementation decision: