.
.
What's the point of passing the component into the getResultsState function.
I narrowed it down to: ``` const singleIndexSearch = (helper, parameters) => helper.searchOnce(parameters).then((res) => ({ rawResults: cleanRawResults(res.content._rawResults), state: res.content._state, })) ```
I'm guessing ServerSideProps works differently than getInitialProps. The first render with ServerSideProps is resultsState is undefined therefore it errors out. I just added an initialState to resultsState and it works....
Code Search.js file ```JSX const resultsState = initialResultsState || { metadata: [ { id: "", index: "", items: [ { label: "", currentRefinement: "", }, ], }, { id: "",...
> $ServerOnly on templates just means the templates and this would just TreeShake it out of the compiled output. Really only good for top level things. It's basically the opposite...
Brand new project following the docs on honojs: ``` (base) ➜ honojs-wordpress npx vite failed to load config from /project/vite.config.ts error when starting dev server: TypeError: Class extends value undefined...
Install it this way: ``` pip3 install fb-idb --prefer-binary ``` Was hell to get it working.
Should install it to: ``` /usr/local/bin/idb ``` If you don't find it, use `which idb` and paste that into flipper.
On the new IDB cmd: "/usr/local/bin/idb_companion list-targets --json" is not a command...so it breaks flipper
Status update check