angular / preboot

Coordinate transfer of state from server to client view for isomorphic/universal JavaScript web applications
MIT License
382 stars 51 forks source link

Preboot buffer: Application bootstrap on the server generated node. #91

Closed Willovent closed 6 years ago

Willovent commented 6 years ago

After futher search, it appear that the bootstrap of the application is started before preboot can create the buffer node. The bootstrap was done in the event DOMContentLoaded, for now I had a setTimeout(10) to go with the waitUntilReady preboot function and it seems to be ok.

mgol commented 6 years ago

If I'm reading it right it might be fixed by PR #83 as it removes waitUntilReady and invokes relevant code immediately, before the Angular JS has a chance to even start loading - so definitely before it bootstraps.

Willovent commented 6 years ago

Yes totally. Thanks for the hard work on that PR !

rezonant commented 6 years ago

Any ETA on a release for this fix?

CaerusKaru commented 6 years ago

@rezonant Just published, let me know if there are any bad effects.

Willovent commented 6 years ago

@CaerusKaru I don't see any bad effects for now and this issue is resolved with the new version. Thanks a lot.

mgol commented 6 years ago

@willovent in that case could you close the issue?