Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 2.24 KB

README.md

File metadata and controls

57 lines (47 loc) · 2.24 KB

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

What i want

This project created as basic todo app to train fsd design with react

Plan

I got a few steps of programming:

  1. Create components architecture
  2. Make components usable, add logic for tasks
  3. Refactor Js into Typescrypt
  4. Add drag`n grop effect for tasks
  5. Add color theme togler
  6. Add node backend

During the project

Problems

  • Aliases was not working with vs code links

I found solution, now my project contains jsconfig.json file

  • I have big problems with spliting something in fsd methodology. Mostly it is a features VS entities VS widgets

Practice solve any problem

  • Tyred facing stupid js problems

At this moment started learning Typescript

  • I don`t know how to pass pages state model to the lower slices

Now i got problems with ts in FSD architecture) I faced this problem because i am using global states, where is chillin my tasks. I want to pass this state to the children, but i cant do it, because in FSD i cant pass model from page to the featue, because feature is lower then page.

New knowledges in different technologies

  • Aliasses support in intelisense
  • Folowing aliases link in vs code
  • Js config file and alieases support in this file
  • Typescript (finally)
  • FSD (Feature-Sliced-Design)
  • Improved import / export skills
  • Find new cool features with index files
  • Now i know more about linters (mostly speaking about Eslint)

TODO

  1. Add new media queries syntax to the template
  2. Add theme togler
  3. Add widgets slice to template repo
  4. Add jsconfig to the template repo
  5. fix paths (again XD)
  6. Look closely to the tsconfig vite config and all ts quick start things
  7. Add styles to the reset for svg colors in template repo
  8. Add max amount of tasks

At this moment all tasks are at dom, but most part with css property

display: "none"