vaderjs 1.3.3-alpha-148 → 1.3.3-alpha-150

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -111,17 +111,22 @@ export default function(req, res){
111
111
  **/}
112
112
  <div key="somevalue">
113
113
  <h1>hello world</>
114
- <Mycomponent ...props />
114
+ <Mycomponent {...props }/>
115
115
  </div>
116
116
  </>
117
117
  }
118
118
 
119
119
  ```
120
120
 
121
- ### ServerSide Site Generation (SSG)
121
+ # ServerSide Site Generation (SSG)
122
122
 
123
123
  Vader compiles all code to a static index.html page so your visitors will never have to wait for the page to load, it then rehydrates the page reapplying functionality!
124
124
 
125
+ you can always opt out of ssg using:
126
+
127
+ ```js
128
+ export const $prerender = false;
129
+ ```
125
130
  We can define some metadata to be used at compile
126
131
 
127
132
  ```jsx
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "vaderjs",
3
3
  "description": "A Reactive library aimed to helping you build reactive applications inspired by react.js",
4
4
  "module": "vader.js",
5
- "version": "1.3.3-alpha-148",
5
+ "version": "1.3.3-alpha-150",
6
6
  "bin": {
7
7
  "vader": "./vader.js"
8
8
  },