You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(All ESM modules are dynamically served based on client ips. We call it as "ESM Editor" and used it for dev purposes.)
198
+
### ESM Usage
187
199
188
-
\* Storized Control UI: `with-store.mjs` includes store codes (zustand) that is also used on the control UIs. So can sync states of gradient & controls without adding any codes.
200
+
1. For ESM-supported React applications (current version, stateless):
This version is mixed with DB code and uses the same store as StoreGradient.
208
+
209
+
Note: All ESM modules are dynamically served based on client IPs. We refer to this system as "ESM Editor" and use it for development purposes.
210
+
211
+
### Source Code Structure and Version Management
212
+
213
+
```
214
+
shadergradient/
215
+
├─ src/
216
+
│ ├─ (current version code)
217
+
├─ src-dev/
218
+
├─ (previously used for staging new features)
219
+
220
+
```
221
+
222
+
The `src` and `src-dev` folders exist only within the shadergradient package directory. Previously, `src-dev` was used as a staging area for new versions due to version management limitations in Framer.
223
+
224
+
However, we are phasing out this approach:
225
+
226
+
1. The `src-dev` folder is no longer actively used for development.
227
+
2. We will no longer maintain separate `src` and `src-dev` directories for version management.
228
+
3. Future version management and development will be handled directly within the Framer project.
229
+
230
+
This change will simplify our development process and align it more closely with standard practices. All new features and updates will be developed and tested within the Framer project environment, ensuring better integration and easier maintenance.
0 commit comments