preact-island-plugins
preact-island-plugins copied to clipboard
Collection of low level plugins for different bundlers to generate and handle preact islands
Since most of the work is actually done using ASTs, a node `loader` or `register` should be able to generate the required files without the need of any build tools....
Any island tree being constructed inside a textContent based DOM Node get's replicated. Example: ```js const HelloIsland = ()=>{ return Hello } export const get = (ctx)=>{ return ( );...
Since `replaceNode` is deprecated and the islands need to different vdom trees https://gist.github.com/developit/f4c67a2ede71dc2fab7f357f39cff28c
The initial reason for adding a typescript plugin internally was to allow users to provide a tsconfig for the server and one for the client since the client build is...