You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The render() method and renderSync() method are almost the same. The tricky part is Async and Sync functions cannot be easily wrapped so that they expose the same interface. Maybe refactor into callbacks or generators can address this issue.
The text was updated successfully, but these errors were encountered:
This will reduce the overall code size, reduce redundency and remove dependency to Promsie (which is trivial).
For example in the builtin/tags/include.ts:
liquidjs/src/builtin/tags/include.ts
Lines 20 to 78 in ab8db53
The
render()
method andrenderSync()
method are almost the same. The tricky part is Async and Sync functions cannot be easily wrapped so that they expose the same interface. Maybe refactor into callbacks or generators can address this issue.The text was updated successfully, but these errors were encountered: