-
We should have a util that makes it easy to detect clicks outside an element. The hook will most likely be used in modal components.
The hook should work with elements from state and RefObjects, a …
-
### Environment
Working directory: C:/GITGITGIT/ksogit/bus_muban中文/new-ssr/
Nuxt project info:
------------------------------
- Operating System: Windows_NT
- Node Version: v20.10.0
- Nuxt Versi…
-
In the last year I've been doing a lot of introductions to Muban for people new on the team. And often I would use the wrong naming for our blocks and components. In many cases I would call our blocks…
-
What I would really like is something like React's error boundaries but I have no clue how that could work. So if it is easy to implement just catching on init, I think that would already make a big d…
-
_From @ThaNarie in https://github.com/mubanjs/muban-skeleton/issues/44_
---
Currently, the skeleton can only render TS templates – which will stay the preferred way of working.
However, certa…
psimk updated
2 years ago
-
Since this is often used when we don't have complete control over the HTML, it is not a good idea to use knockout's template binding syntax. Only way to data bind should be via JS.
Proposed solutio…
-
In React: https://reactjs.org/docs/hooks-reference.html#useimperativehandle
Usage in Muban: As a last resort when using props doesn't work.
Example: setting the focus of an input element wrapped…
-
To align between all our skeletons, easily setup up other projects, and to align with our other standards, it would be good to define a "default" tscofig.json.
I think we can use use an existing on…
-
A component should only be able to select elements that are in the scope of this data-component element. Elements within other data-component elements should be handled in their own component. If that…
-
This is a two-part issue, since this needs to be solved for two situations:
1. Normal Muban projects that only have `.hbs` components
2. SPA-like Muban sections where we have an app-in-site that use…