Recent submissions

Comment · 4 years ago
Comment · 4 years ago
Well, your point is valid. You do need a lot of testing. A lot of your concerns are mentioned in the docs. The point is, whatever is possible to do in the browser you write in your component. Need something from the DB, etc. - you use HttpClient to talk to the server. Faithful implementation - there are Livewire, Yoyo dev, etc. They run PHP on the server only. Your feedback is highly important for me, thank you This helps me to improve my solution and provide the best quality
Comment · 4 years ago
It's for PHP developers mostly, who want to build SPA but struggle with JavaScript frameworks, or who want SPA as well as efficient SSR without involving Node js on their servers. Plus, it's already familiar php and html, similar template syntax as in Angular or Vue.
Comment · 4 years ago
There is a documentation. In particular here https://viewi.net/docs/introduction you can read more about how it works, about the base idea and concept. About the limitations, some of them are described here https://viewi.net/docs/caveats and in general - you can't use functionality and features that are meant for server side only. Viewi is not the same as Livewire, it works differently and it's not tied to a specific framework. Counter php and HTML, the same name and location and you get yourself a component, nothing else is needed, use it as a tag, more here https://viewi.net/docs/components. I appreciate your questions, will work on improvements with the explanation and examples.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton