Benji598
Benji598
KPCKevin Powell - Community
Created by Benji598 on 4/9/2024 in #front-end
View Transitions API
Hello my fellow Front End Devs... I'm trying to get my head around the new View Transitions API and I'm nearly there, I have the slide in efffect but on back navigation I want the other slide out animation to work.... but I feel I'm missing something. I'm attaching a very basic html file and css
2 replies
KPCKevin Powell - Community
Created by Benji598 on 4/4/2024 in #front-end
State of Front End
I have a really interesting question..... If the future of the front end is making fast and efficient code where we can build anything we like with PWAs, why is the likes of react, angular and some other JS Frameworks which are so heavy and score bad of web core vitals are still being used? Surely it's time that we start moving on from this old technology, the browser for API is now incredible, CSS has caught up to pre-processors, the support for Native Web Components across all browsers is amazing. So why do we need React?
4 replies
KPCKevin Powell - Community
Created by Benji598 on 12/6/2023 in #front-end
Passing Objects in Native Web Components
I'm trying to learn Native Web Components and would love some help with this problem I'm facing. I'm trying to pass a simple object literal from the dispatch-data to the recieve-data component by listening to the event. However so some reason I can't get the recieve data to listen to the event using the this.addEventListener, but I can using the window object. so my question is... is there a way to pass an object from the parent to the child without using the window object? look forward to hearing solutions so I can get a good nights sleep! 🤣
29 replies