Update to Riot v4
Closed this issue · 0 comments
Acesmndr commented
With Riot.js 4
you will get all the following new features out of the box:
- Precise source maps
- Content Security Policy support
- True pure Javascript expressions
<slot>
s instead of<yield>
s- Better compatibility with other languages like Typescript
- Modern browsers support (NO internet explorer)
- Components as Javascript modules
- 5x performance boost
- Stabler SSR + HTML hydration
- 6kb Library size
Old components will not work in Riot.js 4 thus required a complete rewrite.