choojs / bankai

:station: - friendly web compiler
Apache License 2.0
1.09k stars 102 forks source link

experimental prefetch help #529

Open talon opened 5 years ago

talon commented 5 years ago

🔦 question?

I am not quite sure how the prefetch works. I think I set it up correctly based on the example in ./ssr/choo.js. I also linked a modified version of bankai to inspect the code and the prefetch runs but setting this.local doesn't work as expected?

Expected Behavior

prefetch should run on SSR and the component should update based on what's .pushed

Current Behavior

The prefetch runs but the my component doesn't apply the state?

Code Sample

https://github.com/talon/talon.computer/blob/master/components/timeline.js