November 19th, 2024
Patch Changes
- Updated dependencies [
4411d4a
]:
November 19th, 2024
4411d4a
]:
November 19th, 2024
November 15th, 2024
November 15th, 2024
A complete rewrite of the core internals by @mhevery, @Varixo , @wmertens and more contributors
💥BREAKING: remove HTML-related types. Use PropsOf instead. (by @wmertens in #7045)
💥BREAKING: useComputed
no longer allows Promise returns. (meaning it is strictly sync) Instead, use useSignal
and useTask
together to perform async signal updates (by @wmertens in #6907)
qwik-labs
package has been removed in favor of experimental features. (by @shairez in #7025)
So the "Insights" vite plugin and components have been moved to core as an experimental feature.
In order to use it, you need to -
1) add insights
to the experimental array in vite.config.ts
:
qwikVite({
experimental: ['insights']
}),
2) Import and use the qwikInsights
vite plugin from @qwik.dev/core/insights/vite
:
import { qwikInsights } from '@qwik.dev/core/insights/vite';
3) import the <Insights>
component from @qwik.dev/core/insights
and use it in your root.tsx
file: :
import { Insights } from '@qwik.dev/core/insights';
// ...rest of root.tsx file
return (
<Insights publicApiKey="..." postUrl="..." />
/* ...qwik app */
);
💥BREAKING: the Typescript exports were trimmed down to the bare minimum. If there are types you are missing, open an issue. (by @wmertens in #7045)
✨ new integration tests that are running with the optimizer (by @Varixo in #7055)
✨ new simpler signals implementation with lazy useComputed$ execution, only when is needed (by @Varixo in #7055)
✨ added the scheduler to sort chores execution and have more predictable behavior (by @Varixo in #7055)
✨ new CSR and SSR rendering written from scratch to speed up performance, improve code readability, and make the code easier to understand for new contributors (by @Varixo in #7055)
November 11th, 2024
November 11th, 2024