The more I use #cursorai , the more I love it. I have been using it to develop #preactjs frontend for @thoughttonote .

The best thing that blows me again and again is now I can chat with the code that is generated and I can understand what the code does. This was not the case until now.

This is a great leverage for good programmers and programmers who wants to get better.

Setting up android development tools on Mac (either react-native based or flutter based) is so damn hard.

Be it go or python or even front-end frameworks like #preactjs or #vuejs , they are easy to get started (on Mac).

Getting started with mobile development is so hard on Mac. Why?

I followed instructions on https://reactnative.dev/ / https://docs.flutter.dev/get-started/install still no luck.

I even tried Claude. Nothing worked.

The last error I got related to too many files open. Tried everything in this: https://github.com/facebook/watchman/issues/923 still no luck.

I have developed apps for Palm OS. It wasn't that hard to develop an app and install on your device, even though it was around two decades back.

#devnote #gptusage

React Native · Learn once, write anywhere

A framework for building native apps using React

I release an app to the public and in few hours, I see hackers scanning for vulnerabilities. Damn!

How can I stop these? The app is on #golang and #preactjs

#security

GET /.ssh/id_rsa GET /_vti_pvt/administrators.pwd GET /etc/ssl/private/server.key GET /config/database.php GET /config/production.json GET /.ssh/id_ed25519 GET /phpinfo.php GET /.env GET /api/.env GET /wp-admin/setup-config.php GET /config.yml GET /_vti_pvt/service.pwd GET /web.config GET /docker-compose.yml GET /etc/shadow GET /secrets.json GET /.ssh/id_ecdsa GET /.git/HEAD GET /server.key GET /.env.production GET /.vscode/sftp.json GET /_vti_pvt/authors.pwd GET /database.sql GET /.svn/wc.db GET /backup.zip GET /.aws/credentials GET /config.php GET /user_secrets.yml GET /backup.tar.gz GET /server-status GET /cloud-config.yml GET /backup.sql GET /dump.sql GET /config.yaml GET /config.xml GET /assets/index-Bxp7euGO.js GET /favicon.ico

As I develop @thoughttonote using #llms, I repeatedly face a issue regarding debugging:

You can write a component or a function giving appropriate prompt. When you want to add a feature, then it is an issue. I face the same issue while debugging too.

As an example, using #claudeai , I developed a #preactjs component that records audio on the browser. It works well. Now I want to display a timer as it records.

I have the option to recreate the entire component or I have to upload the earlier code into Claude and ask it to add that particular feature.

So far, I have chosen the 1st option - recreate.

May be the way we develop software will change as llms are integrated into development process (much like how google and stackoverflow changed it).

#devnote

Are there any tutorials / "getting started" guides for @preact - video / articles / courses?

#preactjs

preact + signals + HTML Drag and Drop API is pretty clean.

🐕 demo: https://2gtlk9.csb.app

✍ code: https://codesandbox.io/s/preact-signals-dnd-2gtlk9?file=/src/index.tsx

#webdev #preact #preactjs #signals

Parcel1 Sandbox

Hooks bring advanced CSS capabilities to native inline styles, with extremely minimal runtime, no build steps & a tiny footprint.

Designed for [React|Solid|Preact]

🔗 https://css-hooks.com/

#css #reactjs #solidjs #preactjs #javascript #webdev

CSS Hooks

Inline styles doing what we thought they couldn't: State-driven styling, dark mode, and more.

Signals look very promising.

In the last couple of months, I came across multiple blogs, videos, and sources talking about Signals -(Especially in the Angular eco-system)- and the performance benefits, but the question will they replace "Hooks" in React or even become 50-50 choice in the future when working with React?

Only time will tell.

https://www.youtube.com/watch?v=SO8lBVWF2Y8

Signals from Preact Docs: https://preactjs.com/guide/v10/signals

#react #preactjs #Signals

Why Signals Are Better Than React Hooks

YouTube

WordPress 6.4 shipped with Preactjs and Preact signals.

credits: @marvinhagemeist

#Wordpress #preactjs

Very hacky but surprised this could work. Literally assigning ref to a parent node outside of a component, else falling back to original node, besides merging multiple refs into a single ref 😂đŸ€ȘđŸ’„

#ReactJS #PreactJS