canjs
canjs copied to clipboard
Build CRUD apps in fewer lines of code.
# Motivation Using CanJS in the browser via the `.mjs` builds is a convenient way to build demos and small apps. However if you use an ecosystem package you have...
I Would love when all package-name/package.json files would be valid that means - main points to src/file not none existing dist - for dist a extra package.json gets written on...
For this module code using ` {{name(context)}}` syntax: ```js import { Component, realtimeRestModel } from "//unpkg.com/can@5/core.mjs"; const File = realtimeRestModel('/api/files/{id}').Map; Component.extend({ tag: 'files-app', view: ` {{name context}}` eliminates all warnings:...
As CanJS wants to move forward to WebComponents we need to Shim HTMLElement Complet to allow SSR for can-stache-element the current workaround is to use can-component
During user testing, users did not find the `can-type` APIs intuitive. They wanted the available types to be present on the `type` export. One tried `type.Array`, another tried using `type.Integer`,...
[Styled Components](https://www.styled-components.com/) is a recent-ish development paradigm that has become popular in the React community. While the main package is React specific, the idea is framework agnostic. This has been...
## TLDR Use JSX because JSX is awesome. Also, no runtime ast parsing, so possibly more performant and smaller. ## Details JSX code is transpiled to calls to a particular...
The [old binding syntax](https://v3.canjs.com/doc/can-stache-bindings.legacy-syntaxes.html) (e.g. `($click)`) was deprecated in 3.x (but I don’t think it’s been removed yet). The 4.x migration guide should suggest that people move to the new...
I Would love to see that CanJS (every single module) does named exports in addition to the default unnamed export for a better migration path forward es2020 ## Why -...
This should include: - Importing modules from `unpkg.com/can@5/core.mjs` - Switching from JS Bin to CodePen (use the [Bitovi](https://codepen.io/bitovi/) account) - Showing newer syntax (if applicable): `this.`, `for(of)`, can-component instead of...