Skip to content

Commit ab22f71

Browse files
committed
solid intro page
1 parent 71df23c commit ab22f71

2 files changed

Lines changed: 60 additions & 35 deletions

File tree

src/routes/getting-started/installation.mdx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,16 @@ To see how to get started quickly, check out the [Quick Start Guide](/getting-st
1010

1111
## Manual Setup Guide
1212

13-
### 1. Create Project Directory
13+
### 1. Create Project Directory & initialize
1414

1515
Create a new directory for your project and navigate into it:
1616

17-
```sh
17+
```sh
1818
mkdir solid-project
1919
cd solid-project
2020
```
2121

22-
### 2. Initialize Package Configuration
23-
24-
Create a `package.json` file to manage dependencies and scripts:
22+
After creating and navigating into your project directory, you can initialize a new Git repository:
2523

2624
```sh title="npm" tab="package-manager"
2725
npm init -y
@@ -39,7 +37,7 @@ yarn init -y
3937
bun init
4038
```
4139

42-
### 3. Install Solid and Build Tools
40+
### 2. Install Solid and Build Tools
4341

4442
Install Solid as a dependency:
4543

@@ -54,7 +52,7 @@ Vite is the recommended build tool for Solid projects due to its speed and ease
5452
vite vite-plugin-solid
5553
```
5654

57-
### 4. Configure Vite
55+
### 3. Configure Vite
5856

5957
To configure Vite for Solid, create a `vite.config.js` file in your project root:
6058

@@ -73,7 +71,7 @@ export default defineConfig({
7371
});
7472
```
7573

76-
### 5. Create HTML Template
74+
### 4. Create HTML Template
7775

7876
Create an `index.html` file in your project root:
7977

@@ -94,7 +92,7 @@ Create an `index.html` file in your project root:
9492
</html>
9593
```
9694

97-
### 6. Create Source Directory and Files
95+
### 5. Create Source Directory and Files
9896

9997
Create the source directory and core application files:
10098

@@ -149,7 +147,7 @@ body {
149147
}
150148
```
151149

152-
### 7. Add Build Scripts
150+
### 6. Add Build Scripts
153151

154152
Update your `package.json` to include the following scripts:
155153
- `dev` - Start the development server
@@ -170,13 +168,13 @@ Update your `package.json` to include the following scripts:
170168
}
171169
```
172170

173-
### 8. Start Development Server
171+
### 7. Start Development Server
174172

175173
```package-run
176174
dev
177175
```
178176

179-
### 9. Open in Browser
177+
### 8. Open in Browser
180178

181179
The development server will start on `http://localhost:3000`. Open this URL in your browser and begin developing your Solid application!
182180

Lines changed: 50 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,62 @@
11
---
2-
title: Intro to Solid
2+
title: Introduction to Solid
33
order: 3
44
---
55

6-
[TODO:
7-
- Input on what should be included in a Solid intro
8-
- Answer questions such as: (maybe)
9-
- What are the key features of Solid?
10-
- Why use
11-
- What are the benefits of using Solid?
12-
- Ecosystem
13-
]
6+
Solid is a declarative JavaScript framework for building fast, reactive user interfaces.
7+
With its fine-grained reactivity system and compilation-driven approach, Solid delivers exceptional performance while maintaining a developer-friendly experience similar to React.
148

15-
Solid is a modern JavaScript framework designed to build responsive and high-performing user interfaces.
16-
It prioritizes a simple, yet predictable, developer experience, making it a great choice for developers of all skill levels.
9+
## What Makes Solid Different?
1710

18-
## What is Solid?
11+
Solid takes a unique approach to building web applications through **fine-grained reactivity**. Unlike frameworks that rely on a Virtual DOM, Solid compiles your components into optimized JavaScript that updates the real DOM directly—only changing what needs to change, when it needs to change.
1912

20-
As a JavaScript framework, Solid embraces reactivity and fine-grained updates.
21-
What this means is that Solid can efficiently update the user interface by only re-rendering the parts of the UI that have changed, rather than the entire page.
13+
This means your applications are faster, more memory-efficient, and more responsive out of the box.
2214

23-
Traditionally, when a change occurs, the entire page would need to reload to display the updated information.
24-
With Solid's fine-grained reactive system, updates are only applied to the parts of the page that need to be updated.
25-
This decreases work and can result in faster load times as well as a smoother user experience overall.
15+
## Core Principles
2616

27-
## The mental model
17+
- **Fine-Grained Reactivity**: Solid tracks dependencies at the most granular level, ensuring only affected parts of your UI update when data changes.
18+
- **No Virtual DOM**: Direct DOM updates eliminate diffing overhead and improve performance.
19+
- **Compilation-Based**: Components are compiled at build time into highly optimized JavaScript with minimal runtime overhead.
20+
- **Familiar Syntax**: JSX-based components make Solid approachable for developers coming from React.
21+
- **TypeScript First**: Built with TypeScript support from the ground up for a robust development experience.
2822

29-
[TODO: Simple explanation of the mental model behind Solid]
23+
## Why Choose Solid?
3024

31-
## Where to go next
25+
### Performance
3226

33-
- [Quick Start Guide](https://solidjs.com/docs/getting-started)
34-
- [Reactivity Overview](/concepts/reactivity/)
35-
- [Component Overview](/concepts/components/)
27+
Solid consistently ranks at the top of JavaScript framework benchmarks. By eliminating the Virtual DOM and leveraging true reactivity, Solid achieves rendering speeds that rival vanilla JavaScript.
28+
29+
### Developer Experience
30+
31+
Write components using familiar JSX syntax while enjoying a simple, predictable API. Solid's reactivity primitives (`createSignal`, `createEffect`, `createMemo`) are intuitive and powerful, eliminating the need for complex state management libraries.
32+
33+
### Small Bundle Size
34+
35+
Solid's core is only a few kilobytes, making it ideal for performance-critical applications and mobile-first development.
36+
37+
### Modern Features
38+
39+
- Built-in support for Server-Side Rendering (SSR)
40+
- Streaming and progressive hydration
41+
- Strong TypeScript integration
42+
- Flexible routing and state management
43+
- Growing ecosystem of tools and libraries
44+
45+
## Who Is Solid For?
46+
47+
Solid is perfect for:
48+
- Developers seeking maximum performance without sacrificing developer experience
49+
- Teams building complex, interactive applications
50+
- Projects where bundle size and runtime efficiency matter
51+
- Developers familiar with React looking for a more performant alternative
52+
53+
## Getting Started
54+
55+
Ready to build with Solid? Here's where to go next:
56+
57+
- [Quick Start Guide](/getting-started/quick-start) - Build your first Solid app
58+
- [Understanding Reactivity](/concepts/reactivity) - Learn Solid's reactive primitives
59+
- [Components Guide](/concepts/components) - Master Solid components
60+
- [Tutorial](/tutorial/introduction) - Step-by-step interactive learning
61+
62+
Welcome to Solid—let's build something fast! 🚀

0 commit comments

Comments
 (0)