GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Source code of index.page.md: --- title: An interactive markdown page imports: - import Reaction from './Reaction.fragment.js' kittenPage: true --- # Hello! This is a __markdown__ page that’s an instance of the `KittenPage` class. As such, you can connect Kitten components (subclasses of `KittenComponent`) to it that can handle their own events themselves thanks to Kitten’s automatic event bubbling. Remember that Kitten’s class-based workflow has memory and performance overheads so try and use it only in authenticated routes where only the owner of the site will be accessing your pages and not on pages that you expect might get high amounts of traffic. ## Reactions{id=your-reactions} <${Reaction.connectedTo(this)} />

Download link

https://s3-eu-central-1.amazonaws.com/mastodon-aral/media_attachments/files/114/433/253/526/556/203/original/f662e8db6ad039bb.png

Notices where this attachment appears

  1. Embed this notice
    Aral Balkan (aral@mastodon.ar.al)'s status on Friday, 02-May-2025 00:22:14 JST Aral Balkan Aral Balkan
    in reply to

    Oh, and here’s what it looks like if you use Kitten’s class-based pages and components instead.

    (You can have the event handling encapsulated on the component itself. Kitten automatically bubbles events up the component tree on the server side.)

    #Kitten #SmallWeb #markdown #components #JavaScript #comingSoon #web #dev

    In conversation about 2 months ago from mastodon.ar.al permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.