dart-lang / dart-lang/language
State management without boilerplate by introducing new language features
- Dominant language
- TeX
- Stars
- 2.9k
- Forks
- 239
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 14
Description
@jascodes commented on [Sat Jul 13 2019](https://github.com/dart-lang/sdk/issues/37525)
Setting state should be easy and without boiler plate. Check out awesome Svelte 3 feature so fundamental should be built in at compiler level.
Check out https://svelte.dev/examples#reactive-assignments
Svelte 3 is awesome at using simple variables as state which can be used in UI. They do it by using reactive assignments. In order to be complaint with javascript they use `$:` label to mark assignment as reactive(i.e setstate). In dart we can use `<= ` or something else you fancy.
Thx
Contributor guide
Research direction
Start by reading the issue proposal and the linked Svelte 3 reactive-assignments example to understand the requested state-management behavior. Done would require an accepted Dart language and compiler design for reactive assignments, but the issue names no implementation files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100