ayoayco / web-component-base

Web Components in Easy Mode 🧱
https://WebComponent.io
MIT License
71 stars 2 forks source link

improve serialize & deserialize function #27

Open ayoayco opened 11 months ago

ayoayco commented 11 months ago

Just opening this idea for exploration. At the moment it can handle 'number', 'boolean', and 'object' with JSON.stringify and JSON.parse ... we can support other types as props if we use an approach like devalue ... but assess the costs too.