Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
beforesemicolon u/beforesemicolon avatar

Before Semicolon

u/beforesemicolon

New
Open sort options
Change post view

This works buts its not reactive. The doubleCount here is a derived state.

The same way you call the count state, you can create a derived state which is a function that you can also call.

As long as derived state calls any state inside, whenever any of those states change the function will get called again for updates value and the DOM gets updated accordingly.














r/beforesemicolon icon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online
r/beforesemicolon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online

Web Component Router is Here (beta)

Yes. Still experimental

Im actually working on fully test it.

By default all pathname match is “exact” which does not allow you to nest “page-route”.

You can set that to false and on child page routes specify full path (including the parent) or use the $ (parent path reference)

Everything else is handled for you

You can try it now https://github.com/beforesemicolon/router?tab=readme-ov-file#page-route



r/beforesemicolon icon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online
r/beforesemicolon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online

Web Component Router is Here (beta)

I see. I knew you were a fraud. I told you yes already. Its a link dude.

Seems like you are trying to find an excuse to get out of this hahaha


r/beforesemicolon icon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online
r/beforesemicolon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online

Web Component Router is Here (beta)

So you dont know how to test for accessibility?

I told you I’ve done the homework so the answer have been yes. Test and share your findings. Prove me wrong.

Im starting to believe you are just theory. Read bunch about of stuff on the internet and act like you program. You already wasted hours in this conversation so, at this point, might as well try it.


r/beforesemicolon icon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online
r/beforesemicolon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online

Web Component Router is Here (beta)

The answer is “ive done the homework” and for you to test it. Ive been telling you to test it before making claims that make you look like a fool


r/beforesemicolon icon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online
r/beforesemicolon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online

Web Component Router is Here (beta)

Ok Mr “I know better”, click the “see demo” link and tell me my accessibly score or any further accessibility questions you may have. You know how to test for accessibility right?


r/beforesemicolon icon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online
r/beforesemicolon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online

Web Component Router is Here (beta)

Dude you are being pathetic. You could have tried it, actually verify if I did not cover any of these claims you make, provide feedback based on your findings instead of making all these assumptions. Instead, you quickly read a description, assume you know better, make assumptions and try to come on top when we could have bonded on similar interests (which we seem to have) and share knowledge (since you know a lot) towards a middle ground. Smh

P.s: there are many ways to “extend” something. True programmers would’ve known that




r/beforesemicolon icon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online
r/beforesemicolon

Before Semicolon space to learn and share Web Development and Programming Knowledge and tooling


Members Online

Web Component Router is Here (beta)

What are you talking about? Do you even know why Web Components were introduced? Let me tell you, it was so we can extend the native stuff so they dont have to spoon feed us every new feature.

What this library allows you to accomplish with these simple tags no native tags can. It’s not reinventing the wheel, it’s introducing a new wheel.

This is how we force them to adopt new ideas into the native APIs.

Give it a try and let me know what you REALLY think.

Try <page-link role=“link” …> if accessibility is a concern.

They even gave us role=“link” so we can create our own links.


Extend HTML by writing new WebComponents: a stack-less tact for web development. Covering CustomElements, HTML Templates, HTML Import, MDV, Polymer Project, &all.


Members Online
r/WebComponents

Extend HTML by writing new WebComponents: a stack-less tact for web development. Covering CustomElements, HTML Templates, HTML Import, MDV, Polymer Project, &all.


Members Online

What Router do you use with Web Components?

It should work now



Before Semicolon u/beforesemicolon avatar