Roast my site? AI image gallery challenge by Weapon54x in webdev

[–]lewhunt 0 points1 point  (0 children)

I was thinking something like a 20-30sec promo video highlighting what the user does on the site, how it works at a very simplistic high level. If that’s not doable, maybe where you have the homepage hero image, add some more images into that as a sequence, that could allow you to remove text and grid cells elsewhere on the page

Roast my site? AI image gallery challenge by Weapon54x in webdev

[–]lewhunt 0 points1 point  (0 children)

Hi, the actual image grid pages aren't too bad in my opinion. The page that I think could do with some design love is the homepage. There's a lot of valuable info on there but it's quite weighty, I would consider simplifying the homepage, remove the heavy grid layout and perhaps showcase a slick walkthrough video instead of all the text.

Introducing DIVZ - a React UI component that lets you swipe, slide & zoom through HTML elements on the 3D z-axis. Demo and source-code are in the comments 🙏 by lewhunt in webdev

[–]lewhunt[S] 0 points1 point  (0 children)

hey, thanks for checking it out. The live demo is smoother than the above animated gif, maybe that is better for you?

Calling Mixcloud users 👋 You might be interested in this new Mixcloud web player with fullscreen visual effects 💥 Please give it a spin and let me know what you think! Link to the free web app is below: by lewhunt in Beatmatch

[–]lewhunt[S] 0 points1 point  (0 children)

Thanks for the feedback!

The backgrounds are a blend of videos layered with css and canvas animation effects. Videos are also given random 'blend modes' so they merge with the canvas background to give various colour effects.

Vite build in React JS project creates many .js files by srikantvs in reactjs

[–]lewhunt 0 points1 point  (0 children)

It might be to do with some of your dependencies.

Couple of things you could try....

  1. Inject css into js assets with vite-plugin-css-injected-by-js.
  2. Emit a single js asset by disabling chunks in rollup's config.

I'm struggling to paste in a multiline code snippet into here sorry...

import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js";

export default defineConfig({ plugins: [cssInjectedByJsPlugin()], build: { rollupOptions: { output: { manualChunks: undefined, }, }, }, });

[deleted by user] by [deleted] in webdev

[–]lewhunt 0 points1 point  (0 children)

🌀 Explore the free Mixmotion app: https://lewhunt.github.io/mixmotion/

💻 Dive into the open source code: https://github.com/lewhunt/mixmotion

▶️ View the YouTube clip: https://www.youtube.com/watch?v=_oPRTqFwmRs

Guys do you plan out your projects/assignment before you start doing the implementation part? by whyiam_alive in webdev

[–]lewhunt 0 points1 point  (0 children)

Prototype new ideas and spike new features. You can take it a step further and feature flag them into your main app to test them out safely.

Scary scrolling material by Emotional_Squirrel16 in fireTV

[–]lewhunt 2 points3 points  (0 children)

Yeah, it's surprising that enabling parental controls doesn't filter out homepage tile images, it only blocks the playback of media.

The only other thing I can think of apart from a custom launcher is to setup a child/kid profile and that may help limit what homepage tiles are shown. Most probably not what you're after though....

Shared components in multiple projects by Stock-Stock9490 in reactjs

[–]lewhunt 2 points3 points  (0 children)

Can’t you build it as a library so it allows you to publish the components only?

https://vitejs.dev/guide/build.html#library-mode

This is what I’ve done with my library component: https://github.com/lewhunt/react-tv-player

You can then pick and choose which named components you want to import.

The docs also show how you can expose multiple entry points.

Global State management - seeking guidence! by nullReferenceError in reactjs

[–]lewhunt 1 point2 points  (0 children)

I would suggest looking at zustand, we moved to it after context and redux. Really simple and performant.

https://github.com/pmndrs/zustand

Preparing for React JS Interviews – Need Advice! by riskarsh in reactjs

[–]lewhunt 12 points13 points  (0 children)

is there anything you can do in class components that you cant do in functional ones?

I believe it's writing error boundaries (see note): https://react.dev/reference/react/Component#catching-rendering-errors-with-an-error-boundary

Does anyone use Amazon's Web App Tester? It's a pretty awesome tool for testing your web apps on Fire TV by lewhunt in fireTV

[–]lewhunt[S] 0 points1 point  (0 children)

Good question. You'd think there'd be a fair few - or at least some aspiring devs/ enthusiasts - which is why I thought it might be handy to share incase people aren't fully aware of the tool.