pinky-pig / what-holidays

地区节日查询

Home Page:https://holiday.mmeme.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Visualizes official holiday data for various regions on a map(Data for reference only).

Points

Development

  1. How to bind custom DOM to a map's JavaScript while supporting two-way binding? There are many ways to create custom DOM for maps, such as using DOM strings or web components (native | Lit | Vue customElement). However, ensuring two-way binding after mounting the component to the map can be challenging. One straightforward approach is to use Vue.createApp.

  2. One minor drawback when persisting Pinia state using pinia-plugin-persistedstate is that, when using the setup syntax, the state must be defined as reactive for persistence to work. When using the setup syntax with Pinia, defining variables as reactive can lead to increased memory consumption and performance overhead for large data sets, such as map instances and marker instances.

About

地区节日查询

https://holiday.mmeme.me/

License:MIT License


Languages

Language:Vue 75.5%Language:TypeScript 21.7%Language:CSS 2.1%Language:HTML 0.7%