halfnelson / svelte-native

Svelte controlling native components via Nativescript
MIT License
1.82k stars 78 forks source link

Switch to `PascalCasing` for component names, in next major version #357

Open jasongitmail opened 9 months ago

jasongitmail commented 9 months ago

Svelte and NativeScript use PascalCase for components by convention.

Screenshot 2024-02-21 at 2 09 01 PM

But Svelte Native uses camelCase and is inconsistent with these.

While not a big deal, consistency would make it feel more polished, smooth initial usage for new users, and allows copy and paste from NativeScript docs for various items.

Screenshot 2024-02-21 at 2 12 28 PM
matthewblott commented 5 days ago

Definitely this. I actually prefer using camel case but pascal case is more consistent and just 'feels' right. It also makes migrating from other technologies easier.