Ben
Ben
Currently Prism only outputs functions. And they can be imported so they can be used with a `express` or any other backend js framework to render body. e.g: ```js import...
Currently Prism compiles functions for rendering components and pages. These functions are built up of string concatenations so are incredibly simple and fast. These also feature string escaping etc... But...
Currently there several types of bindings: https://github.com/kaleidawave/prism/blob/9f76e8b7c3ebeaa811144cc5b587136d28d3bd1f/src/templating/template.ts#L50-L59 Currently set hook is not implemented. It would consist of adding a `@onSet` decorator to methods in the component class definition that would...
Currently a layout component (Denoted with `@Layout` decorator) can have a state on the frontend. It inherits from `Component` and its markup is subject to the same templating binding and...
Current imports are used for: - Importing Prism components so that templating is aware of custom tags - Importing `@Globals` for server - `import type` for the type resolving system...
The idea behind Prism JIT hydration system is that as a compiler it knows where variables are interpolated and so can build ways to retrieve them and cache them into...
*(not really a issue but something tools that explicitly send down the entire state as an object don't encounter)* So given this template: ```html {someY} ``` If the template is...
Given the following template: ```html {someString} ``` Let `someString` equal `'x'` initially. If `someString` is reassigned to `"abc"` then at runtime: 1. `someString !== 'x'` is now truthy so the...
Currently to send data to a object the only supported method is through sending a _whole already existing_ object to a component: ```html ``` This works fine through csr, ssr...
### What version of Bun is running? 1.1.2 ### What platform is your computer? Microsoft Windows NT 10.0.19045.0 x64 ### What steps can reproduce the bug? Given the following using...