Closed Mytia closed 9 years ago
There are already some users who are using the same template on the server, with JsRender render() and then on the client using JsViews link(). So at least part of the above scenarios is already possible.
Currently you can use a template like
{^{for people}}...{^{:firstName}} ... <span data-link="lastName"></span> ... {{/for}}
on the server, and it will render exactly the same as
{{for people}}...{{:firstName}} ... <span></span> ... {{/for}}
.
So then on the client you would need to re-render it using link() and the result would be that the user might see a 'flash' as the lastName gets rendered.
And yes, you could create the data, or part of it, as part of the initial rendering from the server.
For V1.0, there will be some Node.js integration, along with the above behavior. For more extensive built-in support and features concerning these scenarios - that will be a feature request for after V1.0
Closing "After V1.0" issues for now - to reopen as appropriate.
Hi,Boris. Is it possible and in plans to support