Open arkid15r opened 1 month ago
Assigned it to @MuhammadSaqlain-dev as per Slack discussion
@MuhammadSaqlain-dev any progress on this?
After narrowing it down to TypeScript + React/Vue:
When comparing TypeScript with React vs TypeScript with Vue, both frameworks are excellent choices for building modern front-end applications with TypeScript, but they differ in architecture, learning curve, ecosystem, and how they handle TypeScript. Here's a detailed comparison to help you choose between the two:
useState
, useReducer
, or libraries like Redux).interface ButtonProps {
label: string;
onClick: () => void;
}
const Button: React.FC<ButtonProps> = ({ label, onClick }) => (
<button onClick={onClick}>{label}</button>
);
<script lang="ts">
import { defineComponent, ref } from 'vue';
export default defineComponent({
setup() {
const count = ref<number>(0);
const increment = () => count.value++;
return { count, increment };
}
});
</script>
.vue
files) allow you to define your TypeScript logic alongside the HTML template and CSS, providing a more structured and organized approach compared to React’s JSX.useState
, useEffect
, etc.), which are now the go-to standard.Choose React + TypeScript if:
Choose Vue 3 + TypeScript if:
Both frameworks are excellent with TypeScript, but React offers more flexibility and a larger ecosystem, while Vue 3 provides a smoother learning curve and an all-in-one solution.
/assign
As a part of
Implement Nest frontend
milestone we need to figure out what framework/language is the most appropriate for the task. This is sort of research and discuss first task:The second step would be the actual code writing and set up process for the selected tools.