shadowtime2000

Results 129 comments of shadowtime2000

I guess this is kind of like `require` hooks in NodeJS. I think another usage would be for compiled to JS functions template engines, so you don't have to read...

@ije Will the compiler allow using a ternary operator instead of an if statement for a conditional? I find it much more concise

@ije For the Ref example you have it resetting a `const` variable, which will basically break. Maybe this could be the `Prop` type: ```ts type Prop = undefined | T...

I am a little confused, would this make the compiler recognize what the value is, memo, context, ref, etc based on their types, basically forcing usage of some static type...

I don't think it would be a good idea to have a standard `$ssr` label, leaving SSR up to the framework may be a better idea for more customization for...

Maybe I am reading it wrong but it seems like with SSR it only produces static strings? Is there going to be hydration and stuff?

@ije Why is the mounting in stage 3? I thought that stage 3 was meant for additional stuff like SSR and hydration, shouldn't mounting be in stage 1?

@ije > but not including the css transform Sorry, I am a little confused on what you mean by the CSS transform? Are you talking about minification and tree shaking?...

@ije This kind of goes along with slots and children, do you think we could do dynamic usage of components? ```jsx const btn: Props = null; $t: {}} /> ```

If we are going to tree shake unused CSS we should also minify the string.